From 6c4ca713f1a9763b3312d5488553f2adff54fefe Mon Sep 17 00:00:00 2001 From: Francis Visoiu Mistrih Date: Fri, 8 Dec 2017 11:40:06 +0000 Subject: [CodeGen] Move printing MO_CImmediate operands to MachineOperand::print Work towards the unification of MIR and debug output by refactoring the interfaces. llvm-svn: 320140 --- llvm/docs/MIRLangRef.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'llvm/docs/MIRLangRef.rst') diff --git a/llvm/docs/MIRLangRef.rst b/llvm/docs/MIRLangRef.rst index fff0d3ef0eb..e217b792e62 100644 --- a/llvm/docs/MIRLangRef.rst +++ b/llvm/docs/MIRLangRef.rst @@ -430,7 +430,11 @@ immediate machine operand ``-42``: %eax = MOV32ri -42 -.. TODO: Describe the CIMM (Rare) and FPIMM immediate operands. +For integers > 64bit, we use a special machine operand, ``MO_CImmediate``, +which stores the immediate in a ``ConstantInt`` using an ``APInt`` (LLVM's +arbitrary precision integers). + +.. TODO: Describe the FPIMM immediate operands. .. _register-operands: -- cgit v1.2.3