-
Notifications
You must be signed in to change notification settings - Fork 147
Calls to varargs functions are broken #933
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
Labels
Comments
Thanks for the catch, @lanza will take a look. |
smeenai
added a commit
to smeenai/clangir
that referenced
this issue
Oct 8, 2024
After 5da4310, the LLVM dialect requires the variadic callee type to be present for variadic calls. The op builders take care of this automatically if you pass the function type, so change our lowering logic to do so. Add tests for this as well as a missing test for indirect function call lowering. Fixes llvm#913 Fixes llvm#933
smeenai
added a commit
to smeenai/clangir
that referenced
this issue
Oct 9, 2024
After 5da4310, the LLVM dialect requires the variadic callee type to be present for variadic calls. The op builders take care of this automatically if you pass the function type, so change our lowering logic to do so. Add tests for this as well as a missing test for indirect function call lowering. Fixes llvm#913 Fixes llvm#933
smeenai
added a commit
to smeenai/clangir
that referenced
this issue
Oct 9, 2024
After 5da4310, the LLVM dialect requires the variadic callee type to be present for variadic calls. The op builders take care of this automatically if you pass the function type, so change our lowering logic to do so. Add tests for this as well as a missing test for indirect function call lowering. Fixes llvm#913 Fixes llvm#933
smeenai
added a commit
to smeenai/clangir
that referenced
this issue
Oct 9, 2024
After 5da4310, the LLVM dialect requires the variadic callee type to be present for variadic calls. The op builders take care of this automatically if you pass the function type, so change our lowering logic to do so. Add tests for this as well as a missing test for indirect function call lowering. Fixes llvm#913 Fixes llvm#933
keryell
pushed a commit
to keryell/clangir
that referenced
this issue
Oct 19, 2024
After 5da4310, the LLVM dialect requires the variadic callee type to be present for variadic calls. The op builders take care of this automatically if you pass the function type, so change our lowering logic to do so. Add tests for this as well as a missing test for indirect function call lowering. Fixes llvm#913 Fixes llvm#933
lanza
pushed a commit
that referenced
this issue
Nov 5, 2024
After 5da4310, the LLVM dialect requires the variadic callee type to be present for variadic calls. The op builders take care of this automatically if you pass the function type, so change our lowering logic to do so. Add tests for this as well as a missing test for indirect function call lowering. Fixes #913 Fixes #933
lanza
pushed a commit
that referenced
this issue
Mar 18, 2025
After 5da4310, the LLVM dialect requires the variadic callee type to be present for variadic calls. The op builders take care of this automatically if you pass the function type, so change our lowering logic to do so. Add tests for this as well as a missing test for indirect function call lowering. Fixes #913 Fixes #933
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yesterday's rebase broke calls to varargs functions.
This worked before the rebase. This prevents the use of
printf
in test programs, which makes it a little harder to test changes.The text was updated successfully, but these errors were encountered: