forked from OSchip/llvm-project
[AArch64] Remove redundant -march option. Also fix a think-o from r234462.
llvm-svn: 234467
This commit is contained in:
parent
d65d3d7b8b
commit
522bf13b83
|
@ -6672,7 +6672,7 @@ EVT AArch64TargetLowering::getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
|
|||
if (Size >= 4 &&
|
||||
(memOpAlign(SrcAlign, DstAlign, 4) ||
|
||||
(allowsMisalignedMemoryAccesses(MVT::i32, 0, 1, &Fast) && Fast)))
|
||||
return MVT::i64;
|
||||
return MVT::i32;
|
||||
|
||||
return MVT::Other;
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue