aboutsummaryrefslogtreecommitdiffstats
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
commiteb7f7a86651140fe8c2e00765bcb1cebe675eb33 (patch)
tree37d051f1aa6fec872800e78d3d6868bbe5cc51e3
parent73c6b7127aff4499e4d6a2edb219685aee178ee1 (diff)
downloadexternal_llvm-eb7f7a86651140fe8c2e00765bcb1cebe675eb33.zip
external_llvm-eb7f7a86651140fe8c2e00765bcb1cebe675eb33.tar.gz
external_llvm-eb7f7a86651140fe8c2e00765bcb1cebe675eb33.tar.bz2
Fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75499 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 4397540..5293ef6 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/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;