diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td index 77258173ac2..b98fa003f2f 100644 --- a/lib/Target/Sparc/SparcInstrInfo.td +++ b/lib/Target/Sparc/SparcInstrInfo.td @@ -96,7 +96,7 @@ def SETHIi: F2_1<0b100, "sethi">; // Section B.10 - NOP Instruction, p. 105 // (It's a special case of SETHI) -let rd = 0, imm = 0 in +let rd = 0, imm22 = 0 in def NOP : F2_1<0b100, "nop">; // Section B.11 - Logical Instructions, p. 106 diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td index 77258173ac2..b98fa003f2f 100644 --- a/lib/Target/SparcV8/SparcV8InstrInfo.td +++ b/lib/Target/SparcV8/SparcV8InstrInfo.td @@ -96,7 +96,7 @@ def SETHIi: F2_1<0b100, "sethi">; // Section B.10 - NOP Instruction, p. 105 // (It's a special case of SETHI) -let rd = 0, imm = 0 in +let rd = 0, imm22 = 0 in def NOP : F2_1<0b100, "nop">; // Section B.11 - Logical Instructions, p. 106