[clang] [HLSL] Don't invoke `dxv` from `clang-dxc` for text output (PR #135876)

Damyan Pepper via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 15 16:09:11 PDT 2025


================
@@ -309,6 +309,9 @@ HLSLToolChain::TranslateArgs(const DerivedArgList &Args, StringRef BoundArch,
 }
 
 bool HLSLToolChain::requiresValidation(DerivedArgList &Args) const {
+  if (!Args.hasArg(options::OPT_dxc_Fo))
+    return false;
----------------
damyanp wrote:

Doesn't this happen for most of our tests?  I thought we'd want validation to generally always be running?

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


More information about the cfe-commits mailing list