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
commit827e37ad185d9db4b145e5ef0f0c7ac292bbbdf5 (patch)
tree37d051f1aa6fec872800e78d3d6868bbe5cc51e3
parent035d41d6c7abc88fc6be5f7f4eb8fe959fe97323 (diff)
downloadexternal_llvm-827e37ad185d9db4b145e5ef0f0c7ac292bbbdf5.zip
external_llvm-827e37ad185d9db4b145e5ef0f0c7ac292bbbdf5.tar.gz
external_llvm-827e37ad185d9db4b145e5ef0f0c7ac292bbbdf5.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;