Skip to content

Commit 7d9039e

Browse files
author
Kai Luo
committed
[JITLink][PowerPC][RFC] Make JITLink default in LLJIT for ppc64 elfv2abi
JITLink for ppc64 has implemented all relocations implemented in rtdyld for ppc64 and has passed all existed lit tests and unittests in llvm/clang/compiler-rt. I propose making JITLink for ppc64 default in LLJIT. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D159175
1 parent 4b5366c commit 7d9039e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

llvm/lib/ExecutionEngine/Orc/LLJIT.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,12 @@ Error LLJITBuilderState::prepareForConstruction() {
752752
case Triple::x86_64:
753753
UseJITLink = !TT.isOSBinFormatCOFF();
754754
break;
755+
case Triple::ppc64:
756+
UseJITLink = TT.isPPC64ELFv2ABI();
757+
break;
758+
case Triple::ppc64le:
759+
UseJITLink = TT.isOSBinFormatELF();
760+
break;
755761
default:
756762
break;
757763
}

0 commit comments

Comments
 (0)