diff options
author | Tom Stellard <[email protected]> | 2012-07-27 17:46:40 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-07-30 20:31:56 +0000 |
commit | 9c42fb6f26bb7db1bc793f5fcc922bbae6700d74 (patch) | |
tree | 3c873e8a909b3c7331ca089f8e24739f41b29e9d /src/gallium/drivers/radeon/AMDILBase.td | |
parent | f56dfc32134d65599159f53215713bf372c51a13 (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.td | 9 |
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]; } |