[llvm-commits] [llvm] r65976 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp lib/Transforms/Utils/BasicBlockUtils.cpp test/DebugInfo/2009-03-03-store-to-load-forward.ll

Chris Lattner clattner at apple.com
Tue Mar 3 21:31:58 PST 2009


On Mar 3, 2009, at 9:24 PM, Nick Lewycky wrote:

> Chris Lattner wrote:
>> On Mar 3, 2009, at 8:33 PM, Nick Lewycky wrote:
>>
>>>> How about *never* counting pointer<->pointer bitcasts?  They do not
>>>> codegen to anything, and it is simpler to unconditionally skip  
>>>> them.
>>> Isn't that true of all bitcasts?
>>
>> No, fp <-> int bitcast generate lots of code in some cases.
>
> Don't those fall under fptoui fptosi uitofp sitofp?

No.  Those convert value (e.g. 2.0 -> 2).

-Chris



More information about the llvm-commits mailing list