R600/SI: add post ISel folding for SI v2
authorChristian Konig <christian.koenig@amd.com>
Tue, 26 Feb 2013 17:52:23 +0000 (17:52 +0000)
committerChristian Konig <christian.koenig@amd.com>
Tue, 26 Feb 2013 17:52:23 +0000 (17:52 +0000)
commitd3b5509b8099b72104bd8a0d9a998a69eb56ab2a
treec3ed5d1a6e96fe8608796139deeb8f9d2a8cab4f
parentc018ecac2f2f475b6e1023e90d0e48fcf9bd6e1d
R600/SI: add post ISel folding for SI v2

Include immediate folding and SGPR limit handling for VOP3 instructions.

v2: remove leftover hasExtraSrcRegAllocReq

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176101 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDILISelDAGToDAG.cpp
lib/Target/R600/SIISelLowering.cpp
lib/Target/R600/SIISelLowering.h
lib/Target/R600/SIInstrInfo.td
lib/Target/R600/SIInstructions.td