Skip to content
Commit cbeda87d authored by Chris Lattner's avatar Chris Lattner
Browse files

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
parent 9e8120e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment