Issue 131279
Summary [MLIR] optimization LoopPipelining crashes
Labels mlir
Assignees
Reporter thaddywu
    To reproduce: https://godbolt.org/z/oEEcEK3TG
Calling --test-scf-pipelining crashes on this snippet of code
`mlir-opt --test-scf-pipelining`

```
"builtin.module"() ({
  "func.func"() <{
    function_type = () -> index,
    sym_name = "fold_div_index_neg_rhs"
  }>({
    %0 = "arith.constant"() <{value = 0 : index}> : () -> index
    %2 = "shape.div"(%0, %0) : (index, index) -> index
    "func.return"(%2) : (index) -> ()
  }) : () -> ()
}) : () -> ()
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to