Skip to content

Commit 3534df9

Browse files
committed
missing poison check
Signed-off-by: Ivan Butygin <[email protected]>
1 parent 5c79dde commit 3534df9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ mlir::intrange::inferIndexOp(const InferRangeFn &inferFn,
135135
}
136136
if (truncEqual)
137137
// Returing the 64-bit result preserves more information.
138-
return sixtyFour;
138+
return propagatePoison(sixtyFour, argRanges);
139+
139140
ConstantIntRanges merged = sixtyFour.rangeUnion(thirtyTwoAsSixtyFour);
140141
return propagatePoison(merged, argRanges);
141142
}

0 commit comments

Comments
 (0)