[llvm] r212961 - Update comments to include addrspacecast
Matt Arsenault
Matthew.Arsenault at amd.com
Mon Jul 14 10:24:31 PDT 2014
Author: arsenm
Date: Mon Jul 14 12:24:31 2014
New Revision: 212961
URL: http://llvm.org/viewvc/llvm-project?rev=212961&view=rev
Log:
Update comments to include addrspacecast
Modified:
llvm/trunk/include/llvm/IR/InstrTypes.h
Modified: llvm/trunk/include/llvm/IR/InstrTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/InstrTypes.h?rev=212961&r1=212960&r2=212961&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/InstrTypes.h (original)
+++ llvm/trunk/include/llvm/IR/InstrTypes.h Mon Jul 14 12:24:31 2014
@@ -459,7 +459,7 @@ public:
BasicBlock *InsertAtEnd ///< The block to insert the instruction into
);
- /// @brief Create a BitCast or a PtrToInt cast instruction
+ /// @brief Create a BitCast AddrSpaceCast, or a PtrToInt cast instruction.
static CastInst *CreatePointerCast(
Value *S, ///< The pointer value to be casted (operand 0)
Type *Ty, ///< The type to which operand is casted
@@ -467,7 +467,7 @@ public:
BasicBlock *InsertAtEnd ///< The block to insert the instruction into
);
- /// @brief Create a BitCast or a PtrToInt cast instruction
+ /// @brief Create a BitCast, AddrSpaceCast or a PtrToInt cast instruction.
static CastInst *CreatePointerCast(
Value *S, ///< The pointer value to be casted (operand 0)
Type *Ty, ///< The type to which cast should be made
More information about the llvm-commits
mailing list