summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-04-25 21:16:07 +0000
committerDale Johannesen <dalej@apple.com>2008-04-25 21:16:07 +0000
commit0d1d3df564bbedc75a9ea0dd914baf91d3133e75 (patch)
treee3ba5d7978b93e5123a330e1a4398f1147b6078d /llvm/lib/Transforms
parentd71ba91a7dbf8154a98817a498459dfe1c0a91a3 (diff)
downloadbcm5719-llvm-0d1d3df564bbedc75a9ea0dd914baf91d3133e75.tar.gz
bcm5719-llvm-0d1d3df564bbedc75a9ea0dd914baf91d3133e75.zip
change comments per review
llvm-svn: 50300
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/InstructionCombining.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
index f061d497ea4..6bf06e77ebf 100644
--- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -8694,8 +8694,8 @@ Instruction *InstCombiner::visitInvokeInst(InvokeInst &II) {
return visitCallSite(&II);
}
-// If this cast does not affect the value passed through the varargs
-// area, we can eliminate the use of the cast.
+/// isSafeToEliminateVarargsCast - If this cast does not affect the value
+/// passed through the varargs area, we can eliminate the use of the cast.
static bool isSafeToEliminateVarargsCast(const CallSite CS,
const CastInst * const CI,
const TargetData * const TD,
OpenPOWER on IntegriCloud