forked from OSchip/llvm-project
dag combiner just got better at pruning bits. This fixes CodeGen/ARM/rev.ll
llvm-svn: 36222
This commit is contained in:
parent
9a861a8550
commit
598bc0d9a3
|
@ -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]>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue