[llvm] r260594 - [GlobalISel][MachineIRBuilder] Fix comments.

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 13:21:40 PST 2016


Author: qcolombet
Date: Thu Feb 11 15:21:40 2016
New Revision: 260594

URL: http://llvm.org/viewvc/llvm-project?rev=260594&view=rev
Log:
[GlobalISel][MachineIRBuilder] Fix comments.

Modified:
    llvm/trunk/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h

Modified: llvm/trunk/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h?rev=260594&r1=260593&r2=260594&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h (original)
+++ llvm/trunk/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h Thu Feb 11 15:21:40 2016
@@ -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,




More information about the llvm-commits mailing list