summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-07-14 17:24:31 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-07-14 17:24:31 +0000
commit62c836fd3bce6a0cbb542e0e12f158225230f2b8 (patch)
tree5001b99fcbb0471770d745a84bb2921a9e5cb92d /llvm
parent73064e142928357f369da6f66e607b2b85fe8581 (diff)
downloadbcm5719-llvm-62c836fd3bce6a0cbb542e0e12f158225230f2b8.tar.gz
bcm5719-llvm-62c836fd3bce6a0cbb542e0e12f158225230f2b8.zip
Update comments to include addrspacecast
llvm-svn: 212961
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/IR/InstrTypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/IR/InstrTypes.h b/llvm/include/llvm/IR/InstrTypes.h
index a27859edb59..2aab7c0404b 100644
--- a/llvm/include/llvm/IR/InstrTypes.h
+++ b/llvm/include/llvm/IR/InstrTypes.h
@@ -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
OpenPOWER on IntegriCloud