diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-08-15 21:14:01 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-08-15 21:14:01 +0000 |
commit | f865ea85bd9d3e04aa795ee03cfc8db339f8c9b9 (patch) | |
tree | 720d75e27033c722c2f2d09c7c925e4ed78e09bb /lib/Target/ARM/ARMISelLowering.cpp | |
parent | a130a511f46e0e8ed73a00a945822c87fea35def (diff) |
Revert r79127. It was causing compilation errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 99135b2311..9de737be99 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -3121,27 +3121,6 @@ SDValue ARMTargetLowering::PerformDAGCombine(SDNode *N, return SDValue(); } -bool ARMTargetLowering::allowsUnalignedMemoryAccesses(EVT VT) const { - if (!Subtarget->hasV6Ops()) - // Pre-v6 does not support unaligned mem access. - return false; - else if (!Subtarget->hasV6Ops()) { - // v6 may or may not support unaligned mem access. - if (!Subtarget->isTargetDarwin()) - return false; - } - - switch (VT.getSimpleVT().SimpleTy) { - default: - return false; - case MVT::i8: - case MVT::i16: - case MVT::i32: - return true; - // FIXME: VLD1 etc with standard alignment is legal. - } -} - static bool isLegalT1AddressImmediate(int64_t V, EVT VT) { if (V < 0) return false; |