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

Florian Hahn via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 15 04:03:54 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:
----------------
fhahn wrote:

If anything, this should probably be a combine/explicit narrowing

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


More information about the llvm-branch-commits mailing list