aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorChris Bieneman <chris.bieneman@me.com>2022-09-20 10:41:43 -0500
committerChris Bieneman <chris.bieneman@me.com>2022-09-20 10:56:17 -0500
commit0c89b343371fca437a86093a01dc5eb6ed1a4a9b (patch)
treeaab60b4c25a628408440a356b96bd75cec6364f9 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent837caa99a273c76541a376768e1ba0f7a094fde0 (diff)
downloadllvm-0c89b343371fca437a86093a01dc5eb6ed1a4a9b.zip
llvm-0c89b343371fca437a86093a01dc5eb6ed1a4a9b.tar.gz
llvm-0c89b343371fca437a86093a01dc5eb6ed1a4a9b.tar.bz2
[HLSL] Pass flags to cc1 based on language
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. Reviewed By: python3kgae Differential Revision: https://reviews.llvm.org/D133958
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions