commit | a99c508c8d34c073619b71d4f50cb28110cb1a2a | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Wed Aug 15 17:44:53 2012 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Wed Aug 15 17:44:53 2012 +0000 |
tree | 68f954e825abd40e2459722822f6b470388c0466 | |
parent | 7c28978618cbbe472fe4415e56350a3461390658 [diff] [blame] |
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
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index c66618a..77181cf 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -8808,6 +8808,8 @@ case MVT::i16: case MVT::i32: return true; + case MVT::f64: + return Subtarget->hasNEON(); // FIXME: VLD1 etc with standard alignment is legal. } }