This adds the necessary target code to be able to run the ir translator.
Lowering function arguments and returns is a nop and there is no support
for RegBankSelect.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/AMDGPU/AMDGPUCallLowering.h | ||
---|---|---|
1 ↗ | (On Diff #53623) | Missing -*- C++ -*- |
15 ↗ | (On Diff #53623) | Missing _H |
28–29 ↗ | (On Diff #53623) | Should probably update these to use the current start with lowercase naming convention while it's new |
lib/Target/AMDGPU/AMDGPUSubtarget.h | ||
112 ↗ | (On Diff #53623) | Typo onwership, although it seems like this comment would only go on the base class |
lib/Target/AMDGPU/CMakeLists.txt | ||
19 ↗ | (On Diff #53623) | Weird indent |
Comment Actions
Hi Tom,
Mostly LGTM, but I do not see AMDGPUGISelAccessor.h in the diff.
Cheers,
-Quentin
lib/Target/AMDGPU/AMDGPUCallLowering.h | ||
---|---|---|
29–30 ↗ | (On Diff #53633) | By all means, fix that in the base class :). |
Comment Actions
PS: Side question, since I see you used the GISelAccessor trick, would it make sense that we provide the basic GISelAccessor class in GlobalISel header?