Issue 131273
Summary [MLIR] optimization int-range-optimizations crashes
Labels mlir
Assignees
Reporter thaddywu
    To reproduce: https://godbolt.org/z/34cz5zfxE
Calling `--int-range-optimizations` crashes on this snippet of code
`--int-range-optimizations`
```
"builtin.module"() ({
 "func.func"() <{
    function_type = () -> (),
    sym_name = "simple_arith.ceildivui"
  }>({
    %0 = "test.with_bounds"() <{
 smax = 0 : i32,
      smin = -1 : i32,
      umax = 0 : i32,
      umin = -1 : i32
    }> : () -> i32

    %1 = "arith.constant"() <{value = 7 : i32}> : () -> i32

    %2 = "arith.ceildivui"(%1, %0) : (i32, i32) -> i32

    "func.return"() : () -> ()
  }) : () -> ()
}) : () -> ()
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to