summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-07-13 20:58:59 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-07-13 20:58:59 +0000
commit7f3a529ae977e1c4f726a2a4cd40624b673e5d90 (patch)
treeb0952f793b1f05595ae01a08f1bca289e108d74f /llvm/lib/Transforms
parent542619e6d56d97e40b22b0876f6ca57f61112169 (diff)
downloadbcm5719-llvm-7f3a529ae977e1c4f726a2a4cd40624b673e5d90.tar.gz
bcm5719-llvm-7f3a529ae977e1c4f726a2a4cd40624b673e5d90.zip
Fix comment.
llvm-svn: 75499
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/InstructionCombining.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
index 4397540c22f..5293ef6c04c 100644
--- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -8263,9 +8263,8 @@ static bool isSafeIntegerType(const Type *Ty) {
}
}
-/// Only the TRUNC, ZEXT, SEXT. This function implements the common transforms
-/// for all those cases.
-/// @brief Implement the transforms common to CastInst with integer operands
+/// commonIntCastTransforms - This function implements the common transforms
+/// for trunc, zext, and sext.
Instruction *InstCombiner::commonIntCastTransforms(CastInst &CI) {
if (Instruction *Result = commonCastTransforms(CI))
return Result;
OpenPOWER on IntegriCloud