Try to not lose variable's debug info during instcombine.
authorDevang Patel <dpatel@apple.com>
Thu, 17 Mar 2011 22:18:16 +0000 (22:18 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 17 Mar 2011 22:18:16 +0000 (22:18 +0000)
commit813c9a0f19c0d27085a3ea81eb44033747007741
tree62f672bd1b588cc0bbb49f142864ab808a221e24
parente68d8ec25296574109b586359d37318c725442ac
Try to not lose variable's debug info during instcombine.
This is done by lowering dbg.declare intrinsic into dbg.value intrinsic.
Radar 9143931.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127834 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/Local.h
lib/Transforms/InstCombine/InstructionCombining.cpp
lib/Transforms/Utils/Local.cpp
test/Transforms/InstCombine/debuginfo.ll [new file with mode: 0644]