You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this operation should not be done at the backend level. A backend should exactly follow what the ASR says. In this case, it should always return a logical result. This logical result can/should later be casted to the desired type.
lfortran/src/libasr/codegen/asr_to_llvm.cpp
Lines 5827 to 5851 in 09d53e6
Originally posted by @Shaikh-Ubaid in lcompilers/lpython#1506 (comment)