[clang] Fix broken clang codegen test (avx-cxx-record.cpp) (PR #125787)
Pranav Kant via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 4 16:11:31 PST 2025
https://github.com/pranavk created https://github.com/llvm/llvm-project/pull/125787
Fixes e8a486ea97895a18e1bba75431d37d9758886084
>From eaa2581b6b81aa616296f09b859024b3d22fe3c8 Mon Sep 17 00:00:00 2001
From: Pranav Kant <prka at google.com>
Date: Tue, 4 Feb 2025 23:35:44 +0000
Subject: [PATCH] Fix broken clang codegen test
Fixes e8a486ea97895a18e1bba75431d37d9758886084
---
clang/test/CodeGen/X86/avx-cxx-record.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clang/test/CodeGen/X86/avx-cxx-record.cpp b/clang/test/CodeGen/X86/avx-cxx-record.cpp
index d8863ca4e45f9e..bcd9c361fda901 100644
--- a/clang/test/CodeGen/X86/avx-cxx-record.cpp
+++ b/clang/test/CodeGen/X86/avx-cxx-record.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang %s -S --target=x86_64-unknown-linux-gnu -emit-llvm -O2 -march=x86-64-v3 -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -emit-llvm -O2 -target-cpu x86-64-v3 -o - | FileCheck %s
using UInt64x2 = unsigned long long __attribute__((__vector_size__(16), may_alias));
@@ -11,7 +11,7 @@ struct XMM2 : XMM1<0>, XMM1<1> {
};
// CHECK: define{{.*}} @_Z3foov({{.*}} [[ARG:%.*]]){{.*}}
-// CHECK-NEXT: entry:
+// CHECK: entry:
// CHECK-NEXT: store {{.*}}, ptr [[ARG]]{{.*}}
// CHECK-NEXT: [[TMP1:%.*]] = getelementptr {{.*}}, ptr [[ARG]]{{.*}}
// CHECK-NEXT: store {{.*}}, ptr [[TMP1]]{{.*}}
More information about the cfe-commits
mailing list