Add support for the readonly flat Scratch register initialized
by the SPI.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/SIFrameLowering.cpp | ||
---|---|---|
496–504 | Does the architected flat scratch register pair also need to be made live in when scratch is enabled and architected flat scratch is supported? |
llvm/lib/Target/AMDGPU/SIFrameLowering.cpp | ||
---|---|---|
496–504 | No, it does not. It is unallocatable anyway. |
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | ||
---|---|---|
727–728 | Presumably this is a reserved register which we wouldn't need to add to liveins? |
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | ||
---|---|---|
727–728 | It's not a flat scratch, that is SGPR to init it. We normally add the livein in the emitEntryFunctionFlatScratchInit(). |
Presumably this is a reserved register which we wouldn't need to add to liveins?