Index: llvm/docs/LangRef.rst =================================================================== --- llvm/docs/LangRef.rst +++ llvm/docs/LangRef.rst @@ -4892,7 +4892,8 @@ nothing that ensures that happens, is there? - ``I``: Print the letter 'i' if the operand is an integer constant, otherwise - nothing. Used to print 'addi' vs 'add' instructions. + nothing. Used to print 'addi' vs 'add' instructions. (NOTE: This will currently + always print nothing) - ``y``: For a memory operand, prints formatter for a two-register X-form instruction. (Currently always prints ``r0,OPERAND``). - ``U``: Prints 'u' if the memory operand is an update form, and nothing Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp =================================================================== --- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -359,6 +359,7 @@ O << "0, "; printOperand(MI, OpNo, O); return false; + case 'I': // Print 'i' for integer constant. case 'U': // Print 'u' for update form. case 'X': // Print 'x' for indexed form. // FIXME: Currently for PowerPC memory operands are always loaded