[all-commits] [llvm/llvm-project] c8433a: [GlobalISel] Remove debug locations when emitting ...

Davide Italiano via All-commits all-commits at lists.llvm.org
Mon Apr 27 11:27:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c8433a5b1b9c17659b2f6f024652ab5270c6c184
      https://github.com/llvm/llvm-project/commit/c8433a5b1b9c17659b2f6f024652ab5270c6c184
  Author: Davide Italiano <ditaliano at apple.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/constant-dbg-loc.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list