Instruction counters must skip the bitcasts that
authorDale Johannesen <dalej@apple.com>
Tue, 3 Mar 2009 22:36:47 +0000 (22:36 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 3 Mar 2009 22:36:47 +0000 (22:36 +0000)
commit4ded40a44da9d67355a103cc8da68c2c1ab40bfd
treeb86cefecfbe7695c02a88377c013ce80f411f554
parent70b5e04d85b5b43f9ece8a2acc161a9b47820027
Instruction counters must skip the bitcasts that
feed into llvm.dbg.declare nodes, as well as
the debug directives themselves.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65976 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
lib/Transforms/Utils/BasicBlockUtils.cpp
test/DebugInfo/2009-03-03-store-to-load-forward.ll [new file with mode: 0644]