]> granicus.if.org Git - llvm/commit
Merging r229752:
authorTom Stellard <thomas.stellard@amd.com>
Tue, 28 Apr 2015 19:12:16 +0000 (19:12 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 28 Apr 2015 19:12:16 +0000 (19:12 +0000)
commit71b22cb5abd0b404d502ae0704b13a05e213604f
tree210bea06ed7a110b792ec2b073dc45ea1f64fea2
parentc997e431ba9d419d3019260f460f5f7d03509c49
Merging r229752:

------------------------------------------------------------------------
r229752 | marek.olsak | 2015-02-18 17:12:45 -0500 (Wed, 18 Feb 2015) | 10 lines

R600/SI: Fix READLANE and WRITELANE lane select for VI

VOP2 declares vsrc1, but VOP3 declares src1.
We can't use the same "ins" if the operands have different names in VOP2
and VOP3 encodings.

This fixes a hang in geometry shaders which spill M0 on VI.
(BTW it doesn't look like M0 needs spilling and the spilling seems
duplicated 3 times)

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@236020 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrFormats.td
lib/Target/R600/SIInstructions.td