[llvm] [BOLT] [PowerPC] Port (PR #140894)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 22 15:10:33 PDT 2025


maksfb wrote:

Hi, @kostasalv, 

The PR serves well as a skeleton for the backend. For a minimum implementation, I agree with @yota9 that it's reasonable to expect it to be able to process a simple program such as "Hello world".

I suggest you add a simple symbolic disassembler for PowerPC similar to `X86MCSymbolizer` and include a couple of PowerPC-specific relocations in the implementation. If you have patches on top of this one, feel free to share so that we can start reviewing them.

Regarding the current PR, what was the reason for copying `*.inc` files for the new target and including them directly rather than via `PPCMCTargetDesc.h`?

https://github.com/llvm/llvm-project/pull/140894


More information about the llvm-commits mailing list