dag combiner just got better at pruning bits. This fixes CodeGen/ARM/rev.ll

llvm-svn: 36222
This commit is contained in:
Chris Lattner 2007-04-17 22:39:58 +00:00
parent 9a861a8550
commit 598bc0d9a3
1 changed files with 1 additions and 1 deletions

View File

@ -982,7 +982,7 @@ def REVSH : AI<(ops GPR:$dst, GPR:$src),
"revsh $dst, $src",
[(set GPR:$dst,
(sext_inreg
(or (srl (and GPR:$src, 0xFFFF), 8),
(or (srl (and GPR:$src, 0xFF00), 8),
(shl GPR:$src, 8)), i16))]>,
Requires<[IsARM, HasV6]>;