summaryrefslogtreecommitdiffstats
path: root/llvm/docs/MIRLangRef.rst
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2017-12-08 11:40:06 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2017-12-08 11:40:06 +0000
commit6c4ca713f1a9763b3312d5488553f2adff54fefe (patch)
treed5d5b7039e39caac1a06b70a2b881750448f899f /llvm/docs/MIRLangRef.rst
parent5a6d57c75f7b1bbbaa33d0e437fc26c73c1d6150 (diff)
downloadbcm5719-llvm-6c4ca713f1a9763b3312d5488553f2adff54fefe.tar.gz
bcm5719-llvm-6c4ca713f1a9763b3312d5488553f2adff54fefe.zip
[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
Diffstat (limited to 'llvm/docs/MIRLangRef.rst')
-rw-r--r--llvm/docs/MIRLangRef.rst6
1 files changed, 5 insertions, 1 deletions
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:
OpenPOWER on IntegriCloud