aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/R600/SIISelLowering.h
diff options
context:
space:
mode:
authorChristian Konig <christian.koenig@amd.com>2013-04-10 08:39:16 +0000
committerChristian Konig <christian.koenig@amd.com>2013-04-10 08:39:16 +0000
commit4d0e8a8a3e2e5b98f598acad4d57452b99d52e74 (patch)
treeb02888c7d78ff0841f6ab4668192c8b754d2defd /lib/Target/R600/SIISelLowering.h
parent84a775d8e3d5a3765e01db4b454f849ed8be99be (diff)
downloadexternal_llvm-4d0e8a8a3e2e5b98f598acad4d57452b99d52e74.zip
external_llvm-4d0e8a8a3e2e5b98f598acad4d57452b99d52e74.tar.gz
external_llvm-4d0e8a8a3e2e5b98f598acad4d57452b99d52e74.tar.bz2
R600/SI: dynamical figure out the reg class of MIMG
Depending on the number of bits set in the writemask. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179166 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/SIISelLowering.h')
-rw-r--r--lib/Target/R600/SIISelLowering.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/R600/SIISelLowering.h b/lib/Target/R600/SIISelLowering.h
index e8a8ee3..de637be 100644
--- a/lib/Target/R600/SIISelLowering.h
+++ b/lib/Target/R600/SIISelLowering.h
@@ -53,6 +53,8 @@ public:
virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const;
virtual SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const;
virtual SDNode *PostISelFolding(MachineSDNode *N, SelectionDAG &DAG) const;
+ virtual void AdjustInstrPostInstrSelection(MachineInstr *MI,
+ SDNode *Node) const;
int32_t analyzeImmediate(const SDNode *N) const;
};