[llvm] r234467 - [AArch64] Remove redundant -march option. Also fix a think-o from r234462.
Lang Hames
lhames at gmail.com
Wed Apr 8 22:34:57 PDT 2015
Author: lhames
Date: Thu Apr 9 00:34:57 2015
New Revision: 234467
URL: http://llvm.org/viewvc/llvm-project?rev=234467&view=rev
Log:
[AArch64] Remove redundant -march option. Also fix a think-o from r234462.
Modified:
llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/trunk/test/CodeGen/AArch64/arm64-misaligned-memcpy-inline.ll
Modified: llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp?rev=234467&r1=234466&r2=234467&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp Thu Apr 9 00:34:57 2015
@@ -6672,7 +6672,7 @@ EVT AArch64TargetLowering::getOptimalMem
if (Size >= 4 &&
(memOpAlign(SrcAlign, DstAlign, 4) ||
(allowsMisalignedMemoryAccesses(MVT::i32, 0, 1, &Fast) && Fast)))
- return MVT::i64;
+ return MVT::i32;
return MVT::Other;
}
Modified: llvm/trunk/test/CodeGen/AArch64/arm64-misaligned-memcpy-inline.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/arm64-misaligned-memcpy-inline.ll?rev=234467&r1=234466&r2=234467&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/arm64-misaligned-memcpy-inline.ll (original)
+++ llvm/trunk/test/CodeGen/AArch64/arm64-misaligned-memcpy-inline.ll Thu Apr 9 00:34:57 2015
@@ -1,4 +1,4 @@
-; RUN: llc -march=arm64 -mtriple=arm64-apple-ios -aarch64-strict-align < %s | FileCheck %s
+; RUN: llc -mtriple=arm64-apple-ios -aarch64-strict-align < %s | FileCheck %s
; Small (16-bytes here) unaligned memcpys should stay memcpy calls if
; strict-alignment is turned on.
More information about the llvm-commits
mailing list