[llvm] [VP][EVL] Support select instruction with EVL-vectorization (PR #109614)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 29 00:27:39 PDT 2024
================
@@ -1116,9 +1116,8 @@ void VPWidenSelectEVLRecipe::execute(VPTransformState &State) {
auto *InvarCond =
isInvariantCond() ? State.get(getCond(), VPIteration(0, 0)) : nullptr;
+ // FIXME: Do we have a scenario where cond is a scalar?
----------------
LiqinWeng wrote:
I agree with you. I tried to construct a test case from C that would satisfy this, but it didn't sucess, so I added an assertion.
https://github.com/llvm/llvm-project/pull/109614
More information about the llvm-commits
mailing list