Fixed a bug in handling if (expr) node
The code to detect the type is correct in detecting Memref type or not but the below code **always** does a LoadOp.
In the case of non-memref type current value, it's causing seg-fault in LLVM internal code....
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
Please register or sign in to comment