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

via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 1 01:02:30 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
+// CHECK: %ax = alloca double
+// CHECK: store double {{.*}}, ptr %xa
+// CHECK: store double {{.*}}, ptr %ax
+
 void f(double x) {
----------------
mkovacevic99 wrote:

is there anything else that catches your eye?

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


More information about the cfe-commits mailing list