Skip to content

Commit df5d707

Browse files
committed
address Chris, remove fmath-errno as it is toolchain-dependent
1 parent aab3f93 commit df5d707

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

clang/test/Options/Gis.hlsl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
// RUN: %clang_dxc -T lib_6_4 -Gis %s 2>&1 -### | FileCheck -check-prefix=Gis %s
22
// RUN: %clang_dxc -T lib_6_4 %s 2>&1 -### | FileCheck -check-prefix=NO_Gis %s
3-
// RUN: not %clang_dxc -T lib_6_4 /Gis gibberish -### %s 2>&1 | FileCheck -check-prefix=CHECK-ERR %s
43

5-
// Gis: "-fmath-errno" "-ffp-contract=off" "-frounding-math" "-ffp-exception-behavior=strict" "-complex-range=full"
4+
// Gis: "-ffp-contract=off" "-frounding-math" "-ffp-exception-behavior=strict" "-complex-range=full"
65
// assert expected floating point options are present
7-
// NO_Gis-NOT: "-fmath-errno" "-ffp-contract=off" "-frounding-math" "-ffp-exception-behavior=strict" "-complex-range=full"
8-
// CHECK-ERR: error: no such file or directory: 'gibberish'
6+
// NO_Gis-NOT: "-ffp-contract=off"
7+
// NO_Gis-NOT: "-frounding-math"
8+
// NO_Gis-NOT: "-ffp-exception-behavior=strict"
9+
// NO_Gis-NOT: "-complex-range=full"
910
float4 main(float4 a : A) : SV_TARGET
1011
{
1112
return -a.yxxx;

0 commit comments

Comments
 (0)