[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 17:25:58 PST 2009
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
> Log:
> 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.
-Chris
More information about the llvm-commits
mailing list