This adds the initial GlobalISel skeleton for PowerPC. It can only run
ir-translator and legalizer for ret void.
This is largely based on the initial GlobalISel patch for RISCV
(https://reviews.llvm.org/D65219).
Differential D83100
[PPC][GlobalISel] Add initial GlobalIsel infrastructure Authored by kbarton on Jul 2 2020, 3:28 PM.
Details This adds the initial GlobalISel skeleton for PowerPC. It can only run This is largely based on the initial GlobalISel patch for RISCV
Diff Detail
Event TimelineComment Actions I had some problems refreshing the patch using arcanist. I *think* I have fixed everything now, but if things look odd please let me know.
Comment Actions AArch64 has a sub-directory for GlobalISel related things:
Comment Actions
Comment Actions I like this idea. I will do the refactoring in a subsequent commit and update the patch, so if others do not like it it's easy to undo.
Comment Actions I don't particularly like the AArch64 split. There isn't an entirely clean break between globalisel parts and the rest of the backend. The other target subdirectories are used for places where there's a separate library Comment Actions I thought I would too, but I added GISel/ prefix to the CMake in the PowerPC directory, which works. That said, I am by no means a cmake expert, so if having a separate CMakeLists.txt file in the GISel directory is "better", I can add one there also. Comment Actions It's not a separate library, so it's not better. Things are not layered to make this possible Comment Actions Fix warnings from clang-tidy and clang-format and rebase to latest version of master.
Comment Actions
| |||||||||||||||||||||||||||||||||||||||||||||||||||
These should be const?