Closed Blaok closed 5 years ago
Seems like there's something wrong within the LLVM build. Let me take a look and see if I can fix it.
Added another fix. I also merged the two functions that can print SODA code. Please let me know if that breaks anything.
Since the ternary operator is not supported in SODA, HeteroCL need to generate
select(condition, true_value, false_value)
instead ofcondition ? true_value : false_value
.