mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
[AArch64] Remove redundant -march option. Also fix a think-o from r234462.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7ca40334f1
commit
64008ef318
@ -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
Block a user