diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-07-03 01:43:10 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-07-03 01:43:10 +0000 |
commit | 0f994ed52b0db0473d50959aa058f97e49b57fde (patch) | |
tree | ebc165bd75b92cdf0a02e4cbc4a1b3fbe39adce0 /lib/Target/ARM/ARMISelLowering.cpp | |
parent | b512fb02c7e6d632481995eb917745d8b2f4ea18 (diff) | |
download | external_llvm-0f994ed52b0db0473d50959aa058f97e49b57fde.zip external_llvm-0f994ed52b0db0473d50959aa058f97e49b57fde.tar.gz external_llvm-0f994ed52b0db0473d50959aa058f97e49b57fde.tar.bz2 |
Add thumb2 sign / zero extend with rotate instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 85cd2e1..9f847bd 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -303,7 +303,7 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM) setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32, Expand); setOperationAction(ISD::MEMBARRIER, MVT::Other, Expand); - if (!Subtarget->hasV6Ops()) { + if (!Subtarget->hasV6Ops() && !Subtarget->isThumb2()) { setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i16, Expand); setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i8, Expand); } |