Doing this in a post-isel hook avoids the cost of running SIAddIMGInit
which is yet another pass over the MIR.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D99747
[AMDGPU][SDag] Add IMG init in AdjustInstrPostInstrSelection ClosedPublic Authored by foad on Apr 1 2021, 10:10 AM.
Details Summary Doing this in a post-isel hook avoids the cost of running SIAddIMGInit
Diff Detail
Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 5 others. · View Herald TranscriptApr 1 2021, 10:10 AM This revision is now accepted and ready to land.Apr 1 2021, 10:11 AM foad added a child revision: D99670: [AMDGPU] Don't rely on SIAddIMGInit for GlobalISel.Apr 1 2021, 10:11 AM This revision was landed with ongoing or failed builds.Apr 1 2021, 10:14 AM Closed by commit rG4af6251cea02: [AMDGPU][SDag] Add IMG init in AdjustInstrPostInstrSelection (authored by foad). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 334745 llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.h
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
|