llvm-6502/test
Evan Cheng 9568e5c3c3 Teach dag combine to match halfword byteswap patterns.
1. (((x) & 0xFF00) >> 8) | (((x) & 0x00FF) << 8)
   => (bswap x) >> 16
2. ((x&0xff)<<8)|((x&0xff00)>>8)|((x&0xff000000)>>8)|((x&0x00ff0000)<<8))
   => (rotl (bswap x) 16)

This allows us to eliminate most of the def : Pat patterns for ARM rev16
revsh instructions. It catches many more cases for ARM and x86.

rdar://9609108


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133503 91177308-0d34-0410-b5e6-96231b3b80d8
2011-06-21 06:01:08 +00:00
..
Analysis Remove support for parsing the "type i32" syntax for defining a numbered 2011-06-19 00:03:46 +00:00
Archive
Assembler Remove support for parsing the "type i32" syntax for defining a numbered 2011-06-19 00:03:46 +00:00
Bindings/Ocaml
Bitcode Remove support for parsing the "type i32" syntax for defining a numbered 2011-06-19 00:03:46 +00:00
BugPoint
CodeGen Teach dag combine to match halfword byteswap patterns. 2011-06-21 06:01:08 +00:00
DebugInfo Test for previous commit. 2011-06-17 14:16:17 +00:00
ExecutionEngine manually upgrade a bunch of tests to modern syntax, and remove some that 2011-06-17 03:14:27 +00:00
Feature Remove support for parsing the "type i32" syntax for defining a numbered 2011-06-19 00:03:46 +00:00
FrontendAda
FrontendC remove an unreduced testcase. 2011-06-18 19:12:59 +00:00
FrontendC++ Remove testcase. It's problematic for the buildbots. 2011-06-03 20:43:58 +00:00
FrontendFortran
FrontendObjC
FrontendObjC++
Integer Remove support for parsing the "type i32" syntax for defining a numbered 2011-06-19 00:03:46 +00:00
lib
Linker
LLVMC
MC Emit movq for 64-bit register to XMM register moves, but continue to accept 2011-06-20 18:33:26 +00:00
Object
Other
Scripts
TableGen Teach TableGen to evaluate DAG expressions as set operations. 2011-06-04 04:11:37 +00:00
Transforms indvars -disable-iv-rewrite: Adds support for eliminating identity 2011-06-21 03:22:38 +00:00
Unit
Verifier stop accepting begin/end around function bodies in the .ll parser, this isn't pascal anymore. 2011-06-17 06:42:57 +00:00
CMakeLists.txt Added LLVM_BUILD_MODE to cmake so that lit supports tests with REQUIRES: {buildmode}. 2011-06-16 22:19:20 +00:00
lit.cfg
lit.site.cfg.in cmake may require LIT_TOOLS_DIR. 2011-06-16 21:48:57 +00:00
Makefile Add support to lit for build mode requirements. e.g. 2011-06-16 01:33:35 +00:00
Makefile.tests
site.exp.in
TestRunner.sh