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

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 00:11:57 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:

added assertion

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


More information about the llvm-commits mailing list