summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2016-02-11 21:21:40 +0000
committerQuentin Colombet <qcolombet@apple.com>2016-02-11 21:21:40 +0000
commitc83ca6a674886ea348f8c1612b49dfe26776c21f (patch)
treec434e298c8453c4ea536119d1361d59c415bde5d
parentc7525b652c600337bf3c8cfeb8472ce9fda14e44 (diff)
[GlobalISel][MachineIRBuilder] Fix comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260594 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h b/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
index 8d030aa3fe4..01bf6ad35b2 100644
--- a/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
+++ b/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
@@ -68,7 +68,7 @@ public:
/// Setters for the insertion point.
/// @{
- /// Set MachineFunction where to build instructions.
+ /// Set the MachineFunction where to build instructions.
void setFunction(MachineFunction &);
/// Set the insertion point to the beginning (\p Beginning = true) or end
@@ -103,6 +103,7 @@ public:
/// I.e., instruction with a non-generic opcode.
///
/// \pre setBasicBlock or setMI must have been called.
+ /// \pre not isPreISelGenericOpcode(\p Opcode)
///
/// \return The newly created instruction.
MachineInstr *buildInstr(unsigned Opcode, unsigned Res, unsigned Op0,