commit | 40c40efab99f031fa6e6035f71cd76bf5474b84f | [log] [tgz] |
---|---|---|
author | Wolfgang Pieb <Wolfgang.Pieb@sony.com> | Fri Dec 02 00:37:57 2016 +0000 |
committer | Wolfgang Pieb <Wolfgang.Pieb@sony.com> | Fri Dec 02 00:37:57 2016 +0000 |
tree | c0cf1124edcf20e4dd1b9c0ae8be0e5cc85e6b9c | |
parent | d937b699b80714652f6401815c9835a1136a2319 [diff] |
When instructions are hoisted out of loops by MachineLICM, remove their debug loc. This prevents erratic stepping behavior as well as incorrect source attribution for sample profiling. Reviewers: dblakie Subscribers: llvm-commit Differential Revision: https://reviews.llvm.org/D27290 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288442 91177308-0d34-0410-b5e6-96231b3b80d8