Backport jitlink ppc64 (#13850)
* Backport JITLink ppc64 backend to LLVM-16 * Backport ELF part * Backport PCREL relocations * Use jitlink::Section::blocks::empty instead * Backport TLS PCREL relocation * [llvm-project] Synchronize with LLVM monorepo fork --------- Co-authored-by: Jonas Hahnfeld <jonas.hahnfeld@cern.ch>
This commit is contained in:
parent
eac26aa98e
commit
abeda742aa
@ -356,7 +356,8 @@ static bool UseJITLink(const Triple& TT) {
|
||||
// LLJITBuilderState::prepareForConstruction.
|
||||
if (TT.getArch() == Triple::riscv64 ||
|
||||
(TT.isOSBinFormatMachO() &&
|
||||
(TT.getArch() == Triple::aarch64 || TT.getArch() == Triple::x86_64))) {
|
||||
(TT.getArch() == Triple::aarch64 || TT.getArch() == Triple::x86_64)) ||
|
||||
(TT.isOSBinFormatELF() && TT.getArch() == Triple::ppc64le)) {
|
||||
jitLink = true;
|
||||
}
|
||||
// Finally, honor the user's choice by setting an environment variable.
|
||||
|
Loading…
Reference in New Issue
Block a user