We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a86c95 commit e631fe1Copy full SHA for e631fe1
llvm/lib/Target/AMDGPU/AMDGPUSplitKernelArguments.cpp
@@ -45,6 +45,8 @@ class AMDGPUSplitKernelArguments : public ModulePass {
45
46
} // end anonymous namespace
47
void AMDGPUSplitKernelArguments::dumpModuleToFile(Module &M, StringRef Suffix) {
48
+ if (TargetFunction.empty())
49
+ return;
50
std::error_code EC;
51
std::string Filename =
52
(Twine(M.getModuleIdentifier()) + Twine(Suffix) + Twine(".ll")).str();
0 commit comments