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 <p...@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]]{{.*}}

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to