[PATCH] Bugfix for debug intrinsic handling in InstCombiner

Adrian Prantl aprantl at apple.com
Thu Apr 11 14:18:49 PDT 2013


Bugfix for the debug intrinsic handling in InstCombiner:
Since we can't guarantee that the original dbg.declare instrinsic is removed
by LowerDbgDeclare(), we need to make sure that we are not inserting the same
dbg.value intrinsic over and over. 

This removes tons of redundant DIEs when compiling optimized code.

rdar://problem/13056109

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-remove-commented-code.patch
Type: application/octet-stream
Size: 865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130411/e72ed2ac/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Bugfix-for-the-debug-intrinsic-handling-in-InstCombi.patch
Type: application/octet-stream
Size: 17737 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130411/e72ed2ac/attachment-0001.obj>
-------------- next part --------------





More information about the llvm-commits mailing list