Since now, LDS uses within non-kernel functions are being handled in the
pass - LowerModuleLDS, we *NO* need to *forcefully* inline non-kernel
functions just because they use LDS. Do forceful inlining only when the
pass - LowerModuleLDS is not enabled. It is enabled by default.
Details
Details
- Reviewers
arsenm JonChesterfield
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp | ||
|---|---|---|
| 120 | Having "Update" in a comment doesn't make sense. Just explain the current situation | |
Comment Actions
Looks good to me. This will presumably increase the uses of the lower module lds pass. Maybe prudent to run it through the gerrit CI infra before landing?
| llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | ||
|---|---|---|
| 196 | Enable reads better than disable, thanks | |
Comment Actions
The https://reviews.llvm.org/D91516 also includes changes in this current patch, hence this patch is no longer required. All the review discussions and comments can be taken care within https://reviews.llvm.org/D91516 itself.
Having "Update" in a comment doesn't make sense. Just explain the current situation