aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.td1
-rw-r--r--lib/Target/SparcV8/SparcV8InstrInfo.td1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td
index 07491eb1c1..5e61d51329 100644
--- a/lib/Target/Sparc/SparcInstrInfo.td
+++ b/lib/Target/Sparc/SparcInstrInfo.td
@@ -19,6 +19,7 @@ class InstV8 : Instruction { // SparcV8 instruction baseline
field bits<32> Inst;
let Namespace = "V8";
+ let ClassPrefix = "SparcV8";
bits<2> op;
let Inst{31-30} = op; // Top two bits are the 'op' field
diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td
index 07491eb1c1..5e61d51329 100644
--- a/lib/Target/SparcV8/SparcV8InstrInfo.td
+++ b/lib/Target/SparcV8/SparcV8InstrInfo.td
@@ -19,6 +19,7 @@ class InstV8 : Instruction { // SparcV8 instruction baseline
field bits<32> Inst;
let Namespace = "V8";
+ let ClassPrefix = "SparcV8";
bits<2> op;
let Inst{31-30} = op; // Top two bits are the 'op' field