[llvm] [VPlan] Add ComputeAnyOfResult VPInstruction (NFC) (PR #141932)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 2 00:42:51 PDT 2025
================
@@ -87,6 +87,8 @@ Type *VPTypeAnalysis::inferScalarTypeForRecipe(const VPInstruction *R) {
inferScalarType(R->getOperand(1)) &&
"different types inferred for different operands");
return IntegerType::get(Ctx, 1);
+ case VPInstruction::ComputeAnyOfResult:
+ return inferScalarType(R->getOperand(1));
----------------
Mel-Chen wrote:
Fall through here?
```suggestion
case VPInstruction::ComputeAnyOfResult:
```
https://github.com/llvm/llvm-project/pull/141932
More information about the llvm-commits
mailing list