[clang] [Clang] Add FileCheck lines to atomic-auto-type codegen test (PR #206749)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 30 08:21:47 PDT 2026


================
@@ -1,9 +1,15 @@
-// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm -o - %s > /dev/null
+// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s
 
 // This is a regression test for handling of __auto_type inside _Atomic.
 // Previously this could lead to an undeduced AutoType escaping into
 // ASTContext::getTypeInfoImpl and causing an assertion failure.
 
+// CHECK-LABEL: define {{.*}} @f(
+// CHECK: %xa = alloca double
----------------
erichkeane wrote:

the %xa/ax/etc are not stable names, you a have to give them placeholder names with the `%[[PLACEHOLDER_NAME:.*]]` syntax 

https://github.com/llvm/llvm-project/pull/206749


More information about the cfe-commits mailing list