HomePhabricator

[GlobalISel] Remove debug locations when emitting constants.

Authored by davide on Apr 27 2020, 11:24 AM.

Description

[GlobalISel] Remove debug locations when emitting constants.

The tl;dr story is that this causes jumps in the emitted line
tables, even at -O0. We could at some point consider more fancy
solutions to preserve locations, but it doesn't seem to be worth
the effort for now.

rdar://problem/62460788

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

Details