[clang] 6113ea8 - [X86][Driver] Add X86 target option to avoid fail to other targets. NFC
Phoebe Wang via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 17 20:38:36 PST 2021
Author: Phoebe Wang
Date: 2021-11-18T12:37:36+08:00
New Revision: 6113ea8124d7db8620d392c85f96d78784918306
URL: https://github.com/llvm/llvm-project/commit/6113ea8124d7db8620d392c85f96d78784918306
DIFF: https://github.com/llvm/llvm-project/commit/6113ea8124d7db8620d392c85f96d78784918306.diff
LOG: [X86][Driver] Add X86 target option to avoid fail to other targets. NFC
Added:
Modified:
clang/test/Driver/x86_features.c
Removed:
################################################################################
diff --git a/clang/test/Driver/x86_features.c b/clang/test/Driver/x86_features.c
index 8d7f2c73d6f8..e657dbf24eb8 100644
--- a/clang/test/Driver/x86_features.c
+++ b/clang/test/Driver/x86_features.c
@@ -6,8 +6,8 @@
// RUN: %clang -### %s -mieee-fp -S 2>&1 | FileCheck --check-prefix=IEEE %s
// IEEE-NOT: error: unknown argument
-// RUN: %clang -### %s -mskip-rax-setup -S 2>&1 | FileCheck --check-prefix=SRS %s
+// RUN: %clang -target i386-unknown-unknown -### %s -mskip-rax-setup -S 2>&1 | FileCheck --check-prefix=SRS %s
// SRS: "-mskip-rax-setup"
-// RUN: %clang -### %s -mno-skip-rax-setup -S 2>&1 | FileCheck --check-prefix=NO-SRS %s
+// RUN: %clang -target i386-unknown-unknown -### %s -mno-skip-rax-setup -S 2>&1 | FileCheck --check-prefix=NO-SRS %s
// NO-SRS-NOT: "-mskip-rax-setup"
More information about the cfe-commits
mailing list