aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/R600/SIISelLowering.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-06-03 17:39:58 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-06-03 17:39:58 +0000
commit17e8ad67f0ba5e81e53ce21cd260fe3368d6231d (patch)
tree46a91bd6328ad2a3eaa36e080c06369dee97aeca /lib/Target/R600/SIISelLowering.h
parentb89a467559d3eaade14993c7332afca3539f95d9 (diff)
downloadexternal_llvm-17e8ad67f0ba5e81e53ce21cd260fe3368d6231d.zip
external_llvm-17e8ad67f0ba5e81e53ce21cd260fe3368d6231d.tar.gz
external_llvm-17e8ad67f0ba5e81e53ce21cd260fe3368d6231d.tar.bz2
R600/SI: Adjust some instructions' out register class after ISel
This is necessary to avoid generating VGPR to SGPR copies in some cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/SIISelLowering.h')
-rw-r--r--lib/Target/R600/SIISelLowering.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/R600/SIISelLowering.h b/lib/Target/R600/SIISelLowering.h
index 98236aa..f37f0a5 100644
--- a/lib/Target/R600/SIISelLowering.h
+++ b/lib/Target/R600/SIISelLowering.h
@@ -36,6 +36,7 @@ class SITargetLowering : public AMDGPUTargetLowering {
SDNode *foldOperands(MachineSDNode *N, SelectionDAG &DAG) const;
void adjustWritemask(MachineSDNode *&N, SelectionDAG &DAG) const;
+ MachineSDNode *AdjustRegClass(MachineSDNode *N, SelectionDAG &DAG) const;
public:
SITargetLowering(TargetMachine &tm);