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

[Backend][Testing] Fix VHLS codegen for Select; Recover original tests #238

Closed seanlatias closed 4 years ago

seanlatias commented 4 years ago

In this PR, the VHLS code generation for Select is fixed. Moreover, I bring back the original tests before removing rewrtie_unsafe_select (#237) to make sure we indeed generate the correct code.