summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDILBase.td
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-07-27 17:46:40 +0000
committerTom Stellard <[email protected]>2012-07-30 20:31:56 +0000
commit9c42fb6f26bb7db1bc793f5fcc922bbae6700d74 (patch)
tree3c873e8a909b3c7331ca089f8e24739f41b29e9d /src/gallium/drivers/radeon/AMDILBase.td
parentf56dfc32134d65599159f53215713bf372c51a13 (diff)
radeon/llvm: Change the tablegen target from AMDIL to AMDGPU
Diffstat (limited to 'src/gallium/drivers/radeon/AMDILBase.td')
-rw-r--r--src/gallium/drivers/radeon/AMDILBase.td9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeon/AMDILBase.td b/src/gallium/drivers/radeon/AMDILBase.td
index 8a2d34a6324..66c78e5ba00 100644
--- a/src/gallium/drivers/radeon/AMDILBase.td
+++ b/src/gallium/drivers/radeon/AMDILBase.td
@@ -89,9 +89,10 @@ def AMDILInstrInfo : InstrInfo {}
//===----------------------------------------------------------------------===//
// Declare the target which we are implementing
//===----------------------------------------------------------------------===//
-def AMDILAsmWriter : AsmWriter {
- string AsmWriterClassName = "AsmPrinter";
+def AMDGPUAsmWriter : AsmWriter {
+ string AsmWriterClassName = "InstPrinter";
int Variant = 0;
+ bit isMCAsmWriter = 1;
}
def AMDILAsmParser : AsmParser {
@@ -105,9 +106,9 @@ def AMDILAsmParser : AsmParser {
}
-def AMDIL : Target {
+def AMDGPU : Target {
// Pull in Instruction Info:
let InstructionSet = AMDILInstrInfo;
- let AssemblyWriters = [AMDILAsmWriter];
+ let AssemblyWriters = [AMDGPUAsmWriter];
let AssemblyParsers = [AMDILAsmParser];
}