mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
LoopVectorizer: Add initial support for pointer induction variables (for example: *dst++ = *src++).
At the moment we still require to have an integer induction variable (for example: i++). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168231 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -565,9 +565,8 @@ define i32 @example21(i32* nocapture %b, i32 %n) nounwind uwtable readonly ssp {
|
||||
ret i32 %a.0.lcssa
|
||||
}
|
||||
|
||||
; Can't vectorize because there are multiple PHIs.
|
||||
;CHECK: @example23
|
||||
;CHECK-NOT: <4 x i32>
|
||||
;CHECK: <4 x i32>
|
||||
;CHECK: ret void
|
||||
define void @example23(i16* nocapture %src, i32* nocapture %dst) nounwind uwtable ssp {
|
||||
br label %1
|
||||
|
||||
Reference in New Issue
Block a user