aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/R600/R600MachineFunctionInfo.h
diff options
context:
space:
mode:
authorVincent Lejeune <vljn@ovi.com>2013-04-01 21:47:53 +0000
committerVincent Lejeune <vljn@ovi.com>2013-04-01 21:47:53 +0000
commit88524e3f6c314e231678a51479c305e9f3df3fa9 (patch)
tree56963a8182baf8294a81920370042d5b69f79e1f /lib/Target/R600/R600MachineFunctionInfo.h
parent8e59191eb8033133f5b2923d2056d4362af913ce (diff)
downloadexternal_llvm-88524e3f6c314e231678a51479c305e9f3df3fa9.tar.gz
external_llvm-88524e3f6c314e231678a51479c305e9f3df3fa9.tar.bz2
external_llvm-88524e3f6c314e231678a51479c305e9f3df3fa9.zip
R600/SI: Share code recording ShaderTypeAttribute between generations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/R600MachineFunctionInfo.h')
-rw-r--r--lib/Target/R600/R600MachineFunctionInfo.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/R600/R600MachineFunctionInfo.h b/lib/Target/R600/R600MachineFunctionInfo.h
index 13a46b8eec..99c1f91b09 100644
--- a/lib/Target/R600/R600MachineFunctionInfo.h
+++ b/lib/Target/R600/R600MachineFunctionInfo.h
@@ -14,14 +14,13 @@
#define R600MACHINEFUNCTIONINFO_H
#include "llvm/ADT/BitVector.h"
-#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/SelectionDAG.h"
+#include "AMDGPUMachineFunction.h"
#include <vector>
namespace llvm {
-class R600MachineFunctionInfo : public MachineFunctionInfo {
-
+class R600MachineFunctionInfo : public AMDGPUMachineFunction {
public:
R600MachineFunctionInfo(const MachineFunction &MF);
SmallVector<unsigned, 4> LiveOuts;