AMDGPU: Stop adding m0 implicit def to SGPR spills
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 21 Oct 2019 19:42:29 +0000 (19:42 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 21 Oct 2019 19:42:29 +0000 (19:42 +0000)
commitdd6cf159bab7cfa5dd61670d5048dab48c934eba
tree5b6713bb4eadaf7f662b6f9ccedf5190199adda3
parentb5234b64af83cb607e358eb77555f7f30ec0ced4
AMDGPU: Stop adding m0 implicit def to SGPR spills

r375293 removed the SGPR spilling with scalar stores path, so this is
no longer necessary. This also always had the defect of adding the def
even when this path wasn't in use.

llvm-svn: 375448
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/test/CodeGen/AMDGPU/indirect-addressing-term.ll
llvm/test/CodeGen/AMDGPU/stack-slot-color-sgpr-vgpr-spills.mir