There was an error while loading. Please reload this page.
--convert-arith-to-llvm
arith.ceildivsi
The following code computes ceildivsi -128, 7, with an expected result of -18.
ceildivsi -128, 7
-18
However, --convert-arith-to-llvm produces an incorrect output of 18.
18
Reproduction: https://godbolt.org/z/cWf96T8v3