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
This is a known issue for quite a long time, see #32 .
The problem with bool is that its LLVM type depends on the value category. Clang lowers prvalue bool to i1 and lvalue bool to i8. But CIR does not yet have stuff to track this, so CIR lowers !cir.bool to i8 unconditionally.
I'm going to close this to centralize discussion on #480 instead. It's unfortunate GitHub issues defaults to sorting by issue creation time instead of last comment time though.
I found this in:
clangir/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
Lines 4150 to 4153 in a7ac2b4
this is pretty a surprise to me. What is the concern here?
The text was updated successfully, but these errors were encountered: