[llvm-branch-commits] [llvm] [VPlan] Fix VPInstruction::AnyOf combine undoing freeze (PR #223640)

Luke Lau via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 15 03:52:45 PDT 2026


================
@@ -1741,9 +1741,15 @@ bool VPInstruction::usesFirstLaneOnly(const VPValue *Op) const {
     return Op == getOperand(1) || Op == getOperand(2);
   case Instruction::PHI:
     return true;
+  case Instruction::Select:
----------------
lukel97 wrote:

I've removed it from this PR, since it looks like InstCombine will canonicalize this anyway: https://godbolt.org/z/r7PsGxh6G

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


More information about the llvm-branch-commits mailing list