diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-17 22:39:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-17 22:39:58 +0000 |
commit | 120fba91a3d894daaa9317474b51e1fed8577a83 (patch) | |
tree | 3312e61cb8fca2be4a96f2377884f7108665312b /lib | |
parent | 895c4ab564c145d16a585201ea49b91541d806b6 (diff) | |
download | external_llvm-120fba91a3d894daaa9317474b51e1fed8577a83.zip external_llvm-120fba91a3d894daaa9317474b51e1fed8577a83.tar.gz external_llvm-120fba91a3d894daaa9317474b51e1fed8577a83.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index 1c3e34b..43cbed2 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/lib/Target/ARM/ARMInstrInfo.td @@ -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]>; |