Description
The following code computes ceildivsi -128, 7
, with an expected result of -18
.
However, --convert-arith-to-llvm
produces an incorrect output of 18
.
Reproduction: https://godbolt.org/z/cWf96T8v3
The following code computes ceildivsi -128, 7
, with an expected result of -18
.
However, --convert-arith-to-llvm
produces an incorrect output of 18
.
Reproduction: https://godbolt.org/z/cWf96T8v3