Skip to content

Commit 578b97b

Browse files
committed
fmt
1 parent 18e96ff commit 578b97b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clang/lib/Driver/ToolChains/HIPSPV.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ void HIPSPV::Linker::constructLinkAndEmitSpirvCommand(
7676
// Add static device libraries using the common helper function.
7777
// This handles unbundling archives (.a) containing bitcode bundles.
7878
StringRef Arch = getToolChain().getTriple().getArchName();
79-
StringRef Target = "generic"; // SPIR-V is generic, no specific target ID like -mcpu
79+
StringRef Target =
80+
"generic"; // SPIR-V is generic, no specific target ID like -mcpu
8081
tools::AddStaticDeviceLibsLinking(C, *this, JA, Inputs, Args, LinkArgs, Arch,
81-
Target, /*IsBitCodeSDL=*/true);
82+
Target, /*IsBitCodeSDL=*/true);
8283
LinkArgs.append({"-o", TempFile});
8384
const char *LlvmLink =
8485
Args.MakeArgString(getToolChain().GetProgramPath("llvm-link"));

0 commit comments

Comments
 (0)