[PATCH] D154501: [JITLink][RISCV] Move relax to PostAllocationPasses
Job Noorman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 00:35:45 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1e60ab0fbe19: [JITLink][RISCV] Move relax to PostAllocationPasses (authored by jobnoorman).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154501/new/
https://reviews.llvm.org/D154501
Files:
llvm/include/llvm/ExecutionEngine/JITLink/ELF_riscv.h
llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
Index: llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
===================================================================
--- llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
+++ llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
@@ -967,7 +967,7 @@
Config.PrePrunePasses.push_back(markAllSymbolsLive);
Config.PostPrunePasses.push_back(
PerGraphGOTAndPLTStubsBuilder_ELF_riscv::asPass);
- Config.PreFixupPasses.push_back(relax);
+ Config.PostAllocationPasses.push_back(relax);
}
if (auto Err = Ctx->modifyPassConfig(*G, Config))
return Ctx->notifyFailed(std::move(Err));
Index: llvm/include/llvm/ExecutionEngine/JITLink/ELF_riscv.h
===================================================================
--- llvm/include/llvm/ExecutionEngine/JITLink/ELF_riscv.h
+++ llvm/include/llvm/ExecutionEngine/JITLink/ELF_riscv.h
@@ -33,7 +33,7 @@
std::unique_ptr<JITLinkContext> Ctx);
/// Returns a pass that performs linker relaxation. Should be added to
-/// PreFixupPasses.
+/// PostAllocationPasses.
LinkGraphPassFunction createRelaxationPass_ELF_riscv();
} // end namespace jitlink
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154501.537615.patch
Type: text/x-patch
Size: 1134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230706/d2df72b7/attachment-0001.bin>
More information about the llvm-commits
mailing list