[PATCH] D148192: [JITLink][ELF][PPC64] Add skeleton ppc64 support and ELF/ppc64 JITLink backend.

Stefan Gränitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 04:00:11 PDT 2023


sgraenitz added a comment.

The plan sounds very reasonable. PowerPC support is one of the last missing pieces for feature parity with RuntimeDyld. Speaking for the JITLink code, this looks excellent of course.



================
Comment at: llvm/test/ExecutionEngine/JITLink/PPC64/ppc64le-no-relocs.s:1
+# RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -o %t %s
+# RUN: llvm-jitlink -noexec %t
----------------
The test fails for me when I don't build the LLVM PowerPC target. I would have expected it to be unsupported instead. I guess we need a `llvm/test/ExecutionEngine/JITLink/PPC64/lit.local.cfg` file like this:
```
if not 'PowerPC' in config.root.targets:
    config.unsupported = True
```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148192/new/

https://reviews.llvm.org/D148192



More information about the llvm-commits mailing list