Closed
Description
The following code computes the value (ceildivsi -128 7)
, and should produce -18
. However, the compiled code will output 18
on trunk (when run with mlir-cpu-runner
).
A similar bug was previously reported in #89382, but the fix addressed only the constant folder. It appears the lowering is incorrect as well.