diff options
author | Christian Konig <christian.koenig@amd.com> | 2013-04-10 08:39:16 +0000 |
---|---|---|
committer | Christian Konig <christian.koenig@amd.com> | 2013-04-10 08:39:16 +0000 |
commit | 4d0e8a8a3e2e5b98f598acad4d57452b99d52e74 (patch) | |
tree | b02888c7d78ff0841f6ab4668192c8b754d2defd /lib/Target/R600/SIISelLowering.h | |
parent | 84a775d8e3d5a3765e01db4b454f849ed8be99be (diff) | |
download | external_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.h | 2 |
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; }; |