aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/CloneFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-21 06:55:54 +0000
committerChris Lattner <sabre@nondot.org>2009-03-21 06:55:54 +0000
commit8c7f24a36ad7d5aa7322a64d22666fec35fb8478 (patch)
tree037a38d74509a95c8e81ea1a5d9a3f0844ae1651 /lib/Transforms/Utils/CloneFunction.cpp
parent3ee87b6f9da0f63762ffaf0c4fcbc39514a059fb (diff)
add a fastpath to ConstantExpr::getBitCast to handle the case when an obviously
unneeded bitcast is requested. This is common for frontends who just unconditionally cast even if the target is often the right type already. THis prevents going into getFoldedCast which switches on the opcode and does a bunch of other stuff before doing the same opzn. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CloneFunction.cpp')
0 files changed, 0 insertions, 0 deletions