[all-commits] [llvm/llvm-project] 81cad0: Make sure PHIElimination doesn't copy debug locati...

adrian-prantl via All-commits all-commits at lists.llvm.org
Tue Apr 20 17:03:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81cad0be687e3db027b6035e2193a805eb1b6ced
      https://github.com/llvm/llvm-project/commit/81cad0be687e3db027b6035e2193a805eb1b6ced
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

  Changed paths:
    M llvm/lib/CodeGen/PHIElimination.cpp
    A llvm/test/CodeGen/AArch64/PHIElimination-debugloc.mir

  Log Message:
  -----------
  Make sure PHIElimination doesn't copy debug locations across basic blocks.

PHIElimination may insert copy instructions in multiple basic
blocks. Moving debug locations across basic block boundaries would be
misleading as illustrated by the test case.

rdar://75463656

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




More information about the All-commits mailing list