forked from OSchip/llvm-project
[ARM][AArch64] Turn on by default interleaved access lowering
Summary: Interleaved access lowering removes a memory operation and a sequence of vector shuffles and replaces it with a series of memory operations. This should be always beneficial. This pass in only enabled on ARM/AArch64. Reviewers: rengolin Subscribers: aemerson, llvm-commits, rengolin Differential Revision: http://reviews.llvm.org/D12145 llvm-svn: 246540
This commit is contained in:
parent
86852d3676
commit
6d3f05c04b
|
@ -52,7 +52,7 @@ using namespace llvm;
|
|||
static cl::opt<bool> LowerInterleavedAccesses(
|
||||
"lower-interleaved-accesses",
|
||||
cl::desc("Enable lowering interleaved accesses to intrinsics"),
|
||||
cl::init(false), cl::Hidden);
|
||||
cl::init(true), cl::Hidden);
|
||||
|
||||
static unsigned MaxFactor; // The maximum supported interleave factor.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - | FileCheck %s
|
||||
; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - -lower-interleaved-accesses=false | FileCheck %s
|
||||
|
||||
define <8 x i8> @test_vextd(<8 x i8>* %A, <8 x i8>* %B) nounwind {
|
||||
;CHECK-LABEL: test_vextd:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - | FileCheck %s
|
||||
; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - -lower-interleaved-accesses=false | FileCheck %s
|
||||
|
||||
define <8 x i8> @vpaddi8(<8 x i8>* %A, <8 x i8>* %B) nounwind {
|
||||
;CHECK-LABEL: vpaddi8:
|
||||
|
|
Loading…
Reference in New Issue