m0 may need to be written for spill code, so
we don't want general code uses relying on the
value stored in it.
This introduces a few code quality regressions where copies
from m0 are not coalesced into copies of a copy of m0.
Paths
| Differential D26824
AMDGPU: Make m0 unallocatable ClosedPublic Authored by arsenm on Nov 17 2016, 6:01 PM.
Details
Summary m0 may need to be written for spill code, so This introduces a few code quality regressions where copies
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Nov 17 2016, 7:02 PM
Revision Contents
Diff 78446 lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIRegisterInfo.cpp
lib/Target/AMDGPU/SIRegisterInfo.td
lib/Target/AMDGPU/SIWholeQuadMode.cpp
test/CodeGen/AMDGPU/detect-dead-lanes.mir
test/CodeGen/AMDGPU/inline-constraints.ll
test/CodeGen/AMDGPU/llvm.amdgcn.readfirstlane.ll
test/CodeGen/AMDGPU/llvm.amdgcn.readlane.ll
test/CodeGen/AMDGPU/read_register.ll
test/CodeGen/AMDGPU/spill-m0.ll
test/CodeGen/MIR/AMDGPU/si-fix-sgpr-copies.mir
|