[Mlir-commits] [mlir] [mlir][arith] Do not preserve nneg when folding extui of extui (PR #216315)
Jakub Kuderski
llvmlistbot at llvm.org
Fri Aug 14 07:57:03 PDT 2026
================
@@ -1822,6 +1822,7 @@ convertFloatValue(APFloat sourceValue,
OpFoldResult arith::ExtUIOp::fold(FoldAdaptor adaptor) {
if (auto lhs = getIn().getDefiningOp<ExtUIOp>()) {
+ setNonNeg(lhs.getNonNeg());
----------------
kuhar wrote:
Maybe add an inline comment explaining why we do this?
https://github.com/llvm/llvm-project/pull/216315
More information about the Mlir-commits
mailing list