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
Diff Detail
Event Timeline
| lib/Target/AMDGPU/AMDGPUCallLowering.h | ||
|---|---|---|
| 2 | Missing -*- C++ -*- | |
| 16 | Missing _H | |
| 29–30 | Should probably update these to use the current start with lowercase naming convention while it's new | |
| lib/Target/AMDGPU/AMDGPUSubtarget.h | ||
| 112 | Typo onwership, although it seems like this comment would only go on the base class | |
| lib/Target/AMDGPU/CMakeLists.txt | ||
| 19 | Weird indent | |
Hi Tom,
Mostly LGTM, but I do not see AMDGPUGISelAccessor.h in the diff.
Cheers,
-Quentin
| lib/Target/AMDGPU/AMDGPUCallLowering.h | ||
|---|---|---|
| 30–31 | By all means, fix that in the base class :). | |
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?
Missing -*- C++ -*-