]> granicus.if.org Git - llvm/commit
stripDebugInfo() should remove DILocation's found in !llvm.loop metadata
authorDaniel Sanders <daniel_l_sanders@apple.com>
Sat, 28 Jan 2017 11:22:05 +0000 (11:22 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Sat, 28 Jan 2017 11:22:05 +0000 (11:22 +0000)
commit0028bf5b31010482221ac3ff05a7dbca02ded06a
tree00a6d08b71f66784122acb0c34b7aa3e9a76d847
parentf6a8a51f072a9e720bb237208e1738b49b884440
stripDebugInfo() should remove DILocation's found in !llvm.loop metadata

Summary:
Patch by Michele Scandale
(with a small tweak to 'CHECK-NOT' the last DILocation in the test)

Subscribers: bogner, llvm-commits

Differential Revision: https://reviews.llvm.org/D27980

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293377 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfo.cpp
test/DebugInfo/strip-loop-metadata.ll [new file with mode: 0644]