Extend the legalization of global SADDR loads and stores
with changing to VADDR to the FLAT scratch instructions.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D101408  
[AMDGPU] Change FLAT Scratch SADDR to VADDR form in moveToVALU ClosedPublic Authored by rampitec on Apr 27 2021, 3:54 PM. 
Details Summary Extend the legalization of global SADDR loads and stores 
Diff Detail 
 Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 6 others.  ·  View Herald TranscriptApr 27 2021, 3:54 PM rampitec added a parent revision: D101405: [AMDGPU] Change FLAT SADDR to VADDR form in moveToVALU.Apr 27 2021, 3:54 PM 
 
 This revision is now accepted and ready to land.Apr 28 2021, 9:06 AM Closed by commit rG4d6ebe8ac07f: [AMDGPU] Change FLAT Scratch SADDR to VADDR form in moveToVALU (authored by rampitec).  ·  Explain WhyMay 3 2021, 10:57 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 342468 llvm/lib/Target/AMDGPU/SIInstrInfo.h
 llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
 
 llvm/lib/Target/AMDGPU/SIInstrInfo.td
 llvm/test/CodeGen/AMDGPU/move-load-addr-to-valu.mir
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
These functions should probably get comments. It's hard to parse out what this is without already knowing exactly what this is for