Skip to content

Commit 35a0804

Browse files
committed
Replace clang_cc1 with clang_dxc in enable-16bit-types test
1 parent 5656192 commit 35a0804

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

clang/test/CodeGenHLSL/enable-16bit-types.hlsl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clang_cc1 -fnative-half-type -finclude-default-header -triple dxil-pc-shadermodel6.3-library -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s --check-prefix=FLAG
2-
// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.3-library -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s --check-prefix=NOFLAG
3-
4-
// NOTE: -enable-16bit-types is a DXCFlag that aliases -fnative-half-type
1+
// RUN: %clang_dxc -enable-16bit-types -T lib_6_3 -HV 202x %s | FileCheck %s --check-prefix=FLAG
2+
// RUN: %clang_dxc -T lib_6_3 -HV 202x %s | FileCheck %s --check-prefix=NOFLAG
53

64
// FLAG-DAG: ![[NLP:.*]] = !{i32 1, !"dx.nativelowprec", i32 1}
75
// FLAG-DAG: !llvm.module.flags = !{{{.*}}![[NLP]]{{.*}}}

0 commit comments

Comments
 (0)