summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMInstrInfo.td
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-08-15 17:44:53 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-08-15 17:44:53 +0000
commita99c508c8d34c073619b71d4f50cb28110cb1a2a (patch)
tree68f954e825abd40e2459722822f6b470388c0466 /lib/Target/ARM/ARMInstrInfo.td
parent7c28978618cbbe472fe4415e56350a3461390658 (diff)
downloadllvm-a99c508c8d34c073619b71d4f50cb28110cb1a2a.tar.gz
llvm-a99c508c8d34c073619b71d4f50cb28110cb1a2a.tar.bz2
llvm-a99c508c8d34c073619b71d4f50cb28110cb1a2a.tar.xz
Use vld1/vst1 to load/store f64 if alignment is < 4 and the target allows unaligned access. rdar://12091029
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161962 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.td')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index fbd7e7b8e5..76c897c795 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -242,6 +242,9 @@ def UseFusedMAC : Predicate<"(TM.Options.AllowFPOpFusion =="
def DontUseFusedMAC : Predicate<"!Subtarget->hasVFP4() || "
"Subtarget->isTargetDarwin()">;
+def IsLE : Predicate<"TLI.isLittleEndian()">;
+def IsBE : Predicate<"TLI.isBigEndian()">;
+
//===----------------------------------------------------------------------===//
// ARM Flag Definitions.