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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 17 12:57:58 PDT 2023


MaskRay added inline comments.


================
Comment at: llvm/lib/ExecutionEngine/JITLink/ELF.cpp:79
     return createLinkGraphFromELFObject_loongarch(ObjectBuffer);
+  case ELF::EM_PPC64: {
+    if (DataEncoding == ELF::ELFDATA2LSB)
----------------
The braces are optional.

LLVM style may prefer removing the `else`, so that the number of lines is even smaller.


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