[clang] [HLSL] Simplify test (PR #165743)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 30 10:01:37 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Sarah Spall (spall)

<details>
<summary>Changes</summary>

Simplify test that fcgl flag is expanded to the right flags.

---
Full diff: https://github.com/llvm/llvm-project/pull/165743.diff


1 Files Affected:

- (modified) clang/test/Driver/dxc_fcgl.hlsl (+1-2) 


``````````diff
diff --git a/clang/test/Driver/dxc_fcgl.hlsl b/clang/test/Driver/dxc_fcgl.hlsl
index fe65124c197bc..d3de2df1882e4 100644
--- a/clang/test/Driver/dxc_fcgl.hlsl
+++ b/clang/test/Driver/dxc_fcgl.hlsl
@@ -1,5 +1,4 @@
-// RUN: not %clang_dxc -fcgl -T lib_6_7 foo.hlsl -### %s 2>&1 | FileCheck %s
-// RUN: %clang_dxc -fcgl -T lib_6_7 %s -Xclang -verify
+// RUN: %clang_dxc -fcgl -T lib_6_7 %s -### %s 2>&1 | FileCheck %s
 
 // Make sure fcgl option flag which translated into "-emit-llvm" "-disable-llvm-passes".
 // CHECK: "-emit-llvm"

``````````

</details>


https://github.com/llvm/llvm-project/pull/165743


More information about the cfe-commits mailing list