summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/rev.ll
Commit message (Collapse)AuthorAgeFilesLines
* Canonicalize (srl (bswap x), 16) to (rotr (bswap x), 16) if the high 16 bitsEvan Cheng2012-02-231-2/+2
| | | | | | | | of x are zero. This optimizes rev + lsr 16 to rev16. rdar://10750814 llvm-svn: 151230
* Teach dag combine to match halfword byteswap patterns.Evan Cheng2011-06-211-0/+40
| | | | | | | | | | | | | | 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 llvm-svn: 133503
* Add an alternative rev16 pattern. We should figure out a better way to ↵Evan Cheng2011-06-171-0/+17
| | | | | | handle these complex rev patterns. rdar://9609108 llvm-svn: 133289
* Another revsh pattern. rdar://9609059Evan Cheng2011-06-151-0/+13
| | | | llvm-svn: 133064
* Match a few more obvious patterns to revsh. rdar://9147637.Evan Cheng2011-03-181-2/+28
| | | | llvm-svn: 127913
* FileCheck-ize a few tests.Jim Grosbach2010-10-221-19/+22
| | | | llvm-svn: 117156
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-091-2/+2
| | | | llvm-svn: 81293
* Remove llvm-upgrade.Tanya Lattner2008-02-171-25/+23
| | | | llvm-svn: 47238
* For PR1319: Upgrade to use new test harnessReid Spencer2007-04-151-2/+1
| | | | llvm-svn: 36076
* ARM test cases contributed by Apple.Evan Cheng2007-01-191-0/+30
llvm-svn: 33354
OpenPOWER on IntegriCloud