[PATCH] D90505: [AMDGPU] Improve FLAT scratch detection

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 30 14:53:08 PDT 2020


rampitec created this revision.
rampitec added reviewers: arsenm, foad, sebastian-ne.
Herald added subscribers: kerbowa, jfb, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: LLVM.
rampitec requested review of this revision.
Herald added a subscriber: wdng.

We were useing too broad check for isFLATScratch() which also
includes FLAT global. I do not want to burn a bit for it, so
I am using InstrMapping.


https://reviews.llvm.org/D90505

Files:
  llvm/lib/Target/AMDGPU/FLATInstructions.td
  llvm/lib/Target/AMDGPU/SIInstrInfo.h
  llvm/lib/Target/AMDGPU/SIInstrInfo.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90505.302026.patch
Type: text/x-patch
Size: 5034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201030/0bdbbea5/attachment.bin>


More information about the llvm-commits mailing list