Author: Shengchen Kan
Date: 2024-07-16T10:59:12+08:00
New Revision: d82c75ebc0483971b768dd5ff077789262ffd9c0

URL: 
https://github.com/llvm/llvm-project/commit/d82c75ebc0483971b768dd5ff077789262ffd9c0
DIFF: 
https://github.com/llvm/llvm-project/commit/d82c75ebc0483971b768dd5ff077789262ffd9c0.diff

LOG: [X86][Driver] Try to fix the test msse2avx.c on non-X86 target

The test was added in https://github.com/llvm/llvm-project/pull/96860

Added: 
    

Modified: 
    clang/test/Driver/msse2avx.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/msse2avx.c b/clang/test/Driver/msse2avx.c
index 37ba6f320fa97..a63ac9a6c8668 100644
--- a/clang/test/Driver/msse2avx.c
+++ b/clang/test/Driver/msse2avx.c
@@ -1,7 +1,7 @@
-// RUN: %clang -### -c -march=x86-64 -Xassembler -msse2avx %s 2>&1 | FileCheck 
 %s
-// RUN: %clang -### -c -march=x86-64 -x assembler -Xassembler -msse2avx %s 
2>&1 | FileCheck %s
+// RUN: %clang -### -c -target x86_64 -march=x86-64 -Xassembler -msse2avx %s 
2>&1 | FileCheck  %s
+// RUN: %clang -### -c -target x86_64 -march=x86-64 -x assembler -Xassembler 
-msse2avx %s 2>&1 | FileCheck %s
 
 // CHECK: "-msse2avx"
 
-// RUN: not %clang -### -c --target=aarch64 -march=armv8a -msse2avx %s 2>&1 | 
FileCheck --check-prefix=ERR %s
+// RUN: not %clang -### -c -target aarch64 -march=armv8a -msse2avx %s 2>&1 | 
FileCheck --check-prefix=ERR %s
 // ERR:   error: unsupported option '-msse2avx' for target 'aarch64'


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

Reply via email to