[llvm] [VP][EVL] Support select instruction with EVL-vectorization (PR #109614)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 06:09:46 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?
----------------
fhahn wrote:

I might be missing something, but can't this happen when the condition is a loop invariant value? If so, this should have a. test.

https://github.com/llvm/llvm-project/pull/109614


More information about the llvm-commits mailing list