SITargetLowering::LowerFormalArguments asserts that none of these
features are used for graphics calling conventions, so
AnnotateKernelFeatures should not add them.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/AMDGPU/pal-simple-indirect-call.ll | ||
---|---|---|
3 | The IR checks look missing except for the label |
llvm/test/CodeGen/AMDGPU/pal-simple-indirect-call.ll | ||
---|---|---|
3 | This test is copied from simple-indirect-call.ll (it can’t be in the same file because amdhsa does not allow amdgpu_cs functions). The one check line still checks that there are no attributes added, but I can just remove the opt test if that is not worth it. |
llvm/lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp | ||
---|---|---|
406–408 | Please put a comment about why you "continue" when particular CC is met. | |
llvm/test/CodeGen/AMDGPU/pal-simple-indirect-call.ll | ||
3 | Since this patch makes changes in the pass, I think opt check is required. llc line from simple-indirect-call.ll made sure that the test compiles fine. It's up to you if you want the similar assurance. |
llvm/test/CodeGen/AMDGPU/pal-simple-indirect-call.ll | ||
---|---|---|
3 | Can you add a comment indicating there should be no attribute on the function? This isn't the most obvious test |
Please put a comment about why you "continue" when particular CC is met.