-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[regression] function has no AST information #895
Comments
Thanks for reporting this, I talked with @sitio-couto, reverting this for now |
Hugobros3
pushed a commit
to shady-gang/clangir
that referenced
this issue
Oct 2, 2024
smeenai
pushed a commit
to smeenai/clangir
that referenced
this issue
Oct 9, 2024
smeenai
pushed a commit
to smeenai/clangir
that referenced
this issue
Oct 9, 2024
smeenai
pushed a commit
to smeenai/clangir
that referenced
this issue
Oct 9, 2024
keryell
pushed a commit
to keryell/clangir
that referenced
this issue
Oct 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproducer:
Now it will print
error: function has no AST information
. This was introduced in db6b7c0.-fno-clangir-call-conv-lowering
is not helpful since inpopulateCIRToLLVMPasses
fromclang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
, we will always pass true topopulateCIRPreLoweringPasses
.BTW, it looks like the line
clangir/clang/lib/CIR/Dialect/Transforms/CallConvLowering.cpp
Line 36 in db6b7c0
bt-load.i.zip
This may be a separate bug but triggered by the above patch.
CC: @sitio-couto
The text was updated successfully, but these errors were encountered: