Skip to content
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 for vastart and -fclangir-call-conv-lowering #974

Closed
ChuanqiXu9 opened this issue Oct 15, 2024 · 1 comment
Closed

Regression for vastart and -fclangir-call-conv-lowering #974

ChuanqiXu9 opened this issue Oct 15, 2024 · 1 comment

Comments

@ChuanqiXu9
Copy link
Member

ChuanqiXu9 commented Oct 15, 2024

After #944, the following example may not be accept:

// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-llvm %s -o %t.ll
// RUN: FileCheck --input-file=%t.ll %s -check-prefix=LLVM-X86

#include <stdarg.h>
void f1(int n, ...) {
  va_list valist;
  va_start(valist, n);
  va_end(valist);
}
@bcardosolopes
Copy link
Member

Unfortunately the error paths are not as great, so I overall disabled it for now: 6cf9c5d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants