[all-commits] [llvm/llvm-project] dde08c: [AArchExpandPseudo] Preserve instruction debug num...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Mon Mar 13 12:29:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dde08c9c4856726136b670af6def50d108f3bfc4
      https://github.com/llvm/llvm-project/commit/dde08c9c4856726136b670af6def50d108f3bfc4
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
    M llvm/test/CodeGen/AArch64/expand-subs-pseudo.mir

  Log Message:
  -----------
  [AArchExpandPseudo] Preserve instruction debug number in expansions

This is an initial attempt at preserving debug information in the pseudo
instruction expansion of the AArch backend. In particular, we preserve
the instruction number required by the InstrRef implementation of live
debug values.

There are many other expansions that need to be considered, but the ones
addressed in this commit should be extremely common, as they handle most
arithmetic and logical instructions.

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




More information about the All-commits mailing list