Issue 89382
Summary [mlir][arith] `--convert-arith-to-llvm` miscompiles `arith.ceildivsi`
Labels mlir
Assignees
Reporter pingshiyu
    For the following code, the 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
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to