cornell-zhang/heterocl

ir_pass.Simplify segfault

Closed this issue · 1 comments

I was looking into the issue posted by Alga and Xiangyi here: https://github.com/cornell-zhang/heterocl-docs/issues/44. It turned out the direct cause is that ir_pass.Simplify not able to handle the program with bit-slicing correctly.

The program can be successfully lowered and passed to CodeGen if ir_pass.Simplify is commented out. I have not got a chance to figure out the root cause.

Duplicated with #289.