[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
Sun Sep 17 19:19:05 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG7d9039e11d3f: [JITLink][PowerPC][RFC] Make JITLink default in LLJIT for ppc64 elfv2abi (authored by lkail).

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.556922.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230918/e4e24eab/attachment.bin>


More information about the llvm-commits mailing list