summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.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
commitcbeda87da143c463f4ea4cc6c87d4ca148b8e099 (patch)
tree2e8605a030ff77634f29561e5dd4b75962058faa /clang/lib/CodeGen/CodeGenModule.cpp
parent9e8120e0674798dd74ac66229b981443f8c5f4fc (diff)
downloadbcm5719-llvm-cbeda87da143c463f4ea4cc6c87d4ca148b8e099.tar.gz
bcm5719-llvm-cbeda87da143c463f4ea4cc6c87d4ca148b8e099.zip
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. llvm-svn: 67435
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud