aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/XCore
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-07-21 20:12:16 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-07-21 20:12:16 +0000
commitb3e717192635873a0d8491fc45ddb64c0e4bda15 (patch)
treea724904357d26019ebe61876a35fb59ed083c608 /lib/Target/XCore
parent58bb61ae949a3b7197e6c014dcd469dc2fbbd020 (diff)
downloadexternal_llvm-b3e717192635873a0d8491fc45ddb64c0e4bda15.zip
external_llvm-b3e717192635873a0d8491fc45ddb64c0e4bda15.tar.gz
external_llvm-b3e717192635873a0d8491fc45ddb64c0e4bda15.tar.bz2
Remove shift amount flavor. It isn't actually complete enough to
be useful, and it's currently unused. (Some issues: it isn't actually rich enough to capture the semantics on many architectures, and semantics can vary depending on the type being shifted.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore')
-rw-r--r--lib/Target/XCore/XCoreISelLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/XCore/XCoreISelLowering.cpp b/lib/Target/XCore/XCoreISelLowering.cpp
index ec6cf4d..8185865 100644
--- a/lib/Target/XCore/XCoreISelLowering.cpp
+++ b/lib/Target/XCore/XCoreISelLowering.cpp
@@ -68,8 +68,6 @@ XCoreTargetLowering::XCoreTargetLowering(XCoreTargetMachine &XTM)
setIntDivIsCheap(false);
setShiftAmountType(MVT::i32);
- // shl X, 32 == 0
- setShiftAmountFlavor(Extend);
setStackPointerRegisterToSaveRestore(XCore::SP);
setSchedulingPreference(SchedulingForRegPressure);