R600/SI: Don't copy flags when extracting subreg
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 17 Nov 2014 21:11:37 +0000 (21:11 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 17 Nov 2014 21:11:37 +0000 (21:11 +0000)
commit84230f9a53e8f7a9c9f2144bafad4830aba7686a
tree90a56fa840679d33317f1d6d024728627bbd13f9
parent6a95eb021b6caa8b785f58ac667706d5e5972f67
R600/SI: Don't copy flags when extracting subreg

This was resulting in use of a register after a kill.
For some reason this showed up as a problem in many tests
when moving the SIFixSGPRCopies pass closer to instruction
selection.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222175 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp