mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
LoopVectorizer: Optimize the vectorization of consecutive memory access when the iteration step is -1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -537,7 +537,8 @@ define void @example14(i32** nocapture %in, i32** nocapture %coeff, i32* nocaptu
|
||||
}
|
||||
|
||||
;CHECK: @example21
|
||||
;CHECK: <4 x i32>
|
||||
;CHECK: load <4 x i32>
|
||||
;CHECK: shufflevector {{.*}} <i32 3, i32 2, i32 1, i32 0>
|
||||
;CHECK: ret i32
|
||||
define i32 @example21(i32* nocapture %b, i32 %n) nounwind uwtable readonly ssp {
|
||||
%1 = icmp sgt i32 %n, 0
|
||||
|
Reference in New Issue
Block a user