[PATCH] D158449: [IR]Add NumSrcElts param to is..Mask static function in ShuffleVectorInst.
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 4 14:33:51 PDT 2023
aeubanks added a comment.
another slp-vectorizer crash on
target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64"
target triple = "thumbv7-unknown-linux-android24"
define void @_ZNK8SkStroke10strokeRectERK6SkRectP6SkPath15SkPathDirection() {
entry:
%0 = load float, ptr null, align 4
%1 = load float, ptr null, align 4
%2 = load float, ptr null, align 4
%cmp.i = fcmp ogt float %1, %0
%rect.sroa.14.0 = select i1 %cmp.i, float %1, float 0.000000e+00
%rect.sroa.0.0 = select i1 %cmp.i, float %0, float 0.000000e+00
%cmp4.i = fcmp ogt float 0.000000e+00, %2
%rect.sroa.19.0 = select i1 %cmp4.i, float 0.000000e+00, float 0.000000e+00
%rect.sroa.9.0 = select i1 %cmp4.i, float %2, float 0.000000e+00
store float %rect.sroa.0.0, ptr null, align 4
%rect.sroa.9.0.r.sroa_idx = getelementptr i8, ptr null, i32 4
store float %rect.sroa.9.0, ptr %rect.sroa.9.0.r.sroa_idx, align 4
%rect.sroa.14.0.r.sroa_idx = getelementptr i8, ptr null, i32 8
store float %rect.sroa.14.0, ptr %rect.sroa.14.0.r.sroa_idx, align 4
%rect.sroa.19.0.r.sroa_idx = getelementptr i8, ptr null, i32 12
store float %rect.sroa.19.0, ptr %rect.sroa.19.0.r.sroa_idx, align 4
ret void
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158449/new/
https://reviews.llvm.org/D158449
More information about the llvm-commits
mailing list