diff options
Diffstat (limited to 'lib/Target/PowerPC/PPC32AsmPrinter.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPC32AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPC32AsmPrinter.cpp b/lib/Target/PowerPC/PPC32AsmPrinter.cpp index 03fc210984..8119fd3094 100644 --- a/lib/Target/PowerPC/PPC32AsmPrinter.cpp +++ b/lib/Target/PowerPC/PPC32AsmPrinter.cpp @@ -89,7 +89,7 @@ namespace { void printU5ImmOperand(const MachineInstr *MI, unsigned OpNo, MVT::ValueType VT) { unsigned char value = MI->getOperand(OpNo).getImmedValue(); - assert(0 <= value && 31 >= value && "Invalid u5imm argument!"); + assert(value <= 31 && "Invalid u5imm argument!"); O << (unsigned int)value; } void printU16ImmOperand(const MachineInstr *MI, unsigned OpNo, |