Debug info: Let LowerDbgDeclare perfom the dbg.declare -> dbg.value
authorAdrian Prantl <aprantl@apple.com>
Mon, 18 Nov 2013 23:04:38 +0000 (23:04 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 18 Nov 2013 23:04:38 +0000 (23:04 +0000)
commit940267e7f208751fdc48dbb7d6b5d86b6310ce7c
tree0527b3bba05203554db3d856cc86a361be40df9d
parentd9ddaa4acb096ada17fe2dfb014239cafc3aa2b0
Debug info: Let LowerDbgDeclare perfom the dbg.declare -> dbg.value
lowering only for load/stores to scalar allocas. The resulting values
confuse the backend and don't add anything because we can describe
array-allocas with a dbg.declare intrinsic just fine.

rdar://problem/15464571

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195052 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/Local.cpp
test/DebugInfo/ARM/lowerbdgdeclare_vla.ll [new file with mode: 0644]