================
@@ -526,12 +542,13 @@ bool VPInstruction::onlyFirstLaneUsed(const VPValue *Op) 
const {
   case Instruction::ICmp:
     // TODO: Cover additional opcodes.
     return vputils::onlyFirstLaneUsed(this);
+  case VPInstruction::ComputeReductionResult:
+    return true;
----------------
ayalz wrote:

nit: fallthrough to join other `true` opcodes below?

Can these two improvements of onlyFirstLaneUsed() (additional opcodes and 
additional operands) be pushed independently?

https://github.com/llvm/llvm-project/pull/80271
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to