[PATCH] D159175: [JITLink][PowerPC][RFC] Make JITLink default in LLJIT for ppc64 elfv2abi
Kai Luo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 30 01:12:09 PDT 2023
lkail updated this revision to Diff 554621.
lkail retitled this revision from "[JITLink][PowerPC][RFC] Make JITLink default in LLJIT for ppc64" to "[JITLink][PowerPC][RFC] Make JITLink default in LLJIT for ppc64 elfv2abi".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159175/new/
https://reviews.llvm.org/D159175
Files:
llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
Index: llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
===================================================================
--- llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
+++ llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
@@ -752,6 +752,12 @@
case Triple::x86_64:
UseJITLink = !TT.isOSBinFormatCOFF();
break;
+ case Triple::ppc64:
+ UseJITLink = TT.isPPC64ELFv2ABI();
+ break;
+ case Triple::ppc64le:
+ UseJITLink = TT.isOSBinFormatELF();
+ break;
default:
break;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159175.554621.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230830/33ed881b/attachment.bin>
More information about the llvm-commits
mailing list