[PATCH] D107254: [VectorUtils] Teach findScalarElement to return splat value.
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 2 02:04:33 PDT 2021
frasercrmck added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/vscale_extractelement.ll:253
+entry:
+ %in = insertelement <vscale x 4 x i32*> undef, i32* %v, i32 0
+ %splat = shufflevector <vscale x 4 x i32*> %in, <vscale x 4 x i32*> undef, <vscale x 4 x i32> zeroinitializer
----------------
Are these `undef`s supposed to be `poison` nowadays? I think I've seen both recently so it's as much for my own knowledge :)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107254/new/
https://reviews.llvm.org/D107254
More information about the llvm-commits
mailing list