cornell-zhang / heterocl

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

[API][Backend] Enable using constants in intrinsic calls #131

Closed seanlatias closed 5 years ago

seanlatias commented 5 years ago

In this PR, we also move some of the typecasting to LLVM level. This allows other backends to decide what to do when having intrinsic calls with different types.