Add support for the readonly flat Scratch register initialized
by the SPI.
Details
Diff Detail
Unit Tests
Time | Test | |
---|---|---|
220 ms | x64 windows > LLVM.Other::new-pm-lto-defaults.ll |
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?