[llvm-branch-commits] [llvm] [VPlan] Lower MaskedCond earlier in the predicator. NFC (PR #238023)

Florian Hahn via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Nov 11 03:48:21 PST 2026


================
@@ -1478,9 +1478,6 @@ class LLVM_ABI_FOR_TEST VPInstruction : public VPRecipeWithIRFlags,
 
   /// Returns true if the VPInstruction does not need masking.
   bool alwaysUnmasked() const {
-    if (Opcode == VPInstruction::MaskedCond)
-      return false;
----------------
fhahn wrote:

might be safer to turn this into an assert.

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


More information about the llvm-branch-commits mailing list