R600: Do not mergevector after a vector reg is used
authorVincent Lejeune <vljn@ovi.com>
Wed, 31 Jul 2013 19:32:12 +0000 (19:32 +0000)
committerVincent Lejeune <vljn@ovi.com>
Wed, 31 Jul 2013 19:32:12 +0000 (19:32 +0000)
commit220db748b000d61a62b39fe5bfbf5a3b3a0f7204
tree079684e7056bea6dba8736ba3a6e6aa7ec9ab700
parentbb3f931123e9a13ce66e27b25406570d8e3c36b8
R600: Do not mergevector after a vector reg is used

If we merge vector when a vector is used, it will generate an artificial
antidependency that can prevent 2 tex/vtx instructions to use the same
clause and thus generate extra clauses that reduce performance.

There is no test case as such situation is really hard to predict.

llvm-svn: 187516
llvm/lib/Target/R600/R600OptimizeVectorRegisters.cpp