Having the flags only pass through if you're using the dxc-driver means
that the clang driver doesn't work for HLSL, which is undesirable. This
change switches to instead passing flags based on the language mode
similar to how OpenCL does it. This allows the clang driver to be used
for HLSL source files as well.
Details
Details
- Reviewers
python3kgae bogner - Commits
- rG0c89b343371f: [HLSL] Pass flags to cc1 based on language
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
-target?