mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-27 14:24:40 +00:00
dag combiner just got better at pruning bits. This fixes CodeGen/ARM/rev.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36222 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -982,7 +982,7 @@ def REVSH : AI<(ops GPR:$dst, GPR:$src),
|
|||||||
"revsh $dst, $src",
|
"revsh $dst, $src",
|
||||||
[(set GPR:$dst,
|
[(set GPR:$dst,
|
||||||
(sext_inreg
|
(sext_inreg
|
||||||
(or (srl (and GPR:$src, 0xFFFF), 8),
|
(or (srl (and GPR:$src, 0xFF00), 8),
|
||||||
(shl GPR:$src, 8)), i16))]>,
|
(shl GPR:$src, 8)), i16))]>,
|
||||||
Requires<[IsARM, HasV6]>;
|
Requires<[IsARM, HasV6]>;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user