Skip to content
Commit 42f92a72 authored by Wolfgang Pieb's avatar Wolfgang Pieb
Browse files

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

llvm-svn: 288442
parent 35c5e58f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment