[clang] c805df6 - [NFC][clang][HIP] Remove flag from SPIR-V Translator invocation (#122995)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 15 17:05:07 PST 2025
Author: Alex Voicu
Date: 2025-01-16T01:05:03Z
New Revision: c805df69994a1f1e8f095b690c9af9e9c463906b
URL: https://github.com/llvm/llvm-project/commit/c805df69994a1f1e8f095b690c9af9e9c463906b
DIFF: https://github.com/llvm/llvm-project/commit/c805df69994a1f1e8f095b690c9af9e9c463906b.diff
LOG: [NFC][clang][HIP] Remove flag from SPIR-V Translator invocation (#122995)
Remove spurious `--spirv-allow-extra-diexpressions` flag from the
translator invocation, as it's already implied by using
`nonsemantic-shader-200`.
Added:
Modified:
clang/lib/Driver/ToolChains/HIPAMD.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/HIPAMD.cpp b/clang/lib/Driver/ToolChains/HIPAMD.cpp
index 42c48f6c9b7743..ccee065b590647 100644
--- a/clang/lib/Driver/ToolChains/HIPAMD.cpp
+++ b/clang/lib/Driver/ToolChains/HIPAMD.cpp
@@ -176,7 +176,6 @@ void AMDGCN::Linker::constructLinkAndEmitSpirvCommand(
llvm::opt::ArgStringList TrArgs{
"--spirv-max-version=1.6",
"--spirv-ext=+all",
- "--spirv-allow-extra-diexpressions",
"--spirv-allow-unknown-intrinsics",
"--spirv-lower-const-expr",
"--spirv-preserve-auxdata",
More information about the cfe-commits
mailing list