cornell-zhang / heterocl

HeteroCL: A Multi-Paradigm Programming Infrastructure for Software-Defined Heterogeneous Computing
https://cornell-zhang.github.io/heterocl/
Apache License 2.0
322 stars 92 forks source link

ir_pass.Simplify segfault #293

Closed hecmay closed 4 years ago

hecmay commented 4 years ago

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.

seanlatias commented 4 years ago

Duplicated with #289.