mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +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:
parent
895c4ab564
commit
120fba91a3
@ -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…
x
Reference in New Issue
Block a user