[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
nicholas at mxc.ca
Tue Mar 3 20:33:21 PST 2009
Chris Lattner wrote:
> On Mar 3, 2009, at 2:36 PM, Dale Johannesen wrote:
>> Author: johannes
>> Date: Tue Mar 3 16:36:47 2009
>> New Revision: 65976
>> URL: http://llvm.org/viewvc/llvm-project?rev=65976&view=rev
>> Instruction counters must skip the bitcasts that
>> feed into llvm.dbg.declare nodes, as well as
>> the debug directives themselves.
> Hey Dale,
> 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?
More information about the llvm-commits