R600: Don't use trans slot for instructions that read LDS source registers
authorTom Stellard <thomas.stellard@amd.com>
Thu, 12 Sep 2013 02:55:06 +0000 (02:55 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 12 Sep 2013 02:55:06 +0000 (02:55 +0000)
commitac779b8494ad3d2f2ea40cb566552c0fb1b17363
tree457837e32c2be033d5ef5719cdf5bcb2b5467989
parent8f2f86f8899fcd98405005dbd6195ffa606f5d15
R600: Don't use trans slot for instructions that read LDS source registers

This fixes some regressions in the piglit local memory store tests
introduced by recent commits which made the scheduler aware of the trans
slot.

It's not possible to test this using lit, because there is no way to
determine from the assembly dumps whether or not an instruction is in
the trans slot.

Even if this were possible, the test would be highly sensitive to
changes in the scheduler and might generate confusing false negatives.

Reviewed-by: Vincent Lejeune<vljn at ovi.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190574 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/R600InstrInfo.cpp
lib/Target/R600/R600InstrInfo.h
lib/Target/R600/R600MachineScheduler.cpp
lib/Target/R600/R600Packetizer.cpp
lib/Target/R600/R600RegisterInfo.td