Skip to content

Commit 5f839eb

Browse files
committed
[Driver][X86] Fix LIT test failure on Solaris OS + AMD64 CPU.
The LIT test is introduced by llvm#140874.
1 parent 1cf5466 commit 5f839eb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/test/Driver/cl-x86-flags.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ void f(void) {
137137
}
138138

139139

140-
// RUN: not %clang_cl -### --target=i386 -mapx-features=ndd %s 2>&1 | FileCheck --check-prefix=NON-APX %s
141-
// RUN: not %clang_cl -### --target=i386 -mapxf %s 2>&1 | FileCheck --check-prefix=NON-APX %s
142-
// RUN: %clang_cl -### --target=i386 -mno-apxf %s 2>&1 > /dev/null
143-
// NON-APX: error: unsupported option '-mapx-features=|-mapxf' for target 'i386'
140+
// RUN: not %clang_cl -### --target=i386-pc-windows -mapx-features=ndd %s 2>&1 | FileCheck --check-prefix=NON-APX %s
141+
// RUN: not %clang_cl -### --target=i386-pc-windows -mapxf %s 2>&1 | FileCheck --check-prefix=NON-APX %s
142+
// RUN: %clang_cl -### --target=i386-pc-windows -mno-apxf %s 2>&1 > /dev/null
143+
// NON-APX: error: unsupported option '-mapx-features=|-mapxf' for target 'i386-pc-windows{{.*}}'
144144
// NON-APX-NOT: error: {{.*}} -mapx-features=
145145

146146
// RUN: %clang_cl --target=x86_64-pc-windows -mapxf %s -### 2>&1 | FileCheck -check-prefix=APXF %s

0 commit comments

Comments
 (0)