================ @@ -219,6 +219,8 @@ class TargetTransformInfo { /// Get the kind of extension that an instruction represents. static PartialReductionExtendKind getPartialReductionExtendKind(Instruction *I); + static PartialReductionExtendKind + getPartialReductionExtendKind(Instruction::CastOps ExtOpcode); ---------------- sdesmalen-arm wrote:
What about either replacing `getPartialReductionExtendKind(Instruction *I);` with this one, rather than adding a new interface, Or otherwise changing the implementation of `getPartialReductionExtendKind(Instruction *I)` to use `getPartialReductionExtendKind(Instruction::CastOps)` ? https://github.com/llvm/llvm-project/pull/136173 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits