Skip to content

Commit

Permalink
Remove cloned module identifier set.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel-Durov committed Sep 14, 2024
1 parent 971dc14 commit 9551c24
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/YkIR/YkIRWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1794,7 +1794,6 @@ void cloneModule(Module &M) {
if (!ClonedModule) {
llvm::report_fatal_error(StringRef("attempt to clone module failed"));
}
ClonedModule->setModuleIdentifier(ClonePrefix + M.getName().str());
// Rename functions
for (llvm::Function &F : *ClonedModule) {
if (F.hasExternalLinkage() && F.isDeclaration()) {
Expand Down

0 comments on commit 9551c24

Please sign in to comment.