[Mlir-commits] [mlir] [mlir][arith] Fix SelectOp unsafe int range inference with unfinalized range case (PR #173716)
Krzysztof Drewniak
llvmlistbot at llvm.org
Tue Dec 30 09:15:22 PST 2025
================
@@ -4544,6 +4544,8 @@ static void nvvmInferResultRanges(Operation *op, Value result,
if (auto rangeAttr = op->getAttrOfType<LLVM::ConstantRangeAttr>("range")) {
setResultRanges(result, {rangeAttr.getLower(), rangeAttr.getUpper(),
rangeAttr.getLower(), rangeAttr.getUpper()});
+ } else {
----------------
krzysz00 wrote:
This, however, is the right fix and should be in there
https://github.com/llvm/llvm-project/pull/173716
More information about the Mlir-commits
mailing list