[all-commits] [llvm/llvm-project] b3c51d: [InstrRef] Preserve debug instr num in aarch64-exp...

Shubham Sandeep Rastogi via All-commits all-commits at lists.llvm.org
Mon Feb 24 21:42:23 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3c51db292f05cf89201911cbcca6cba83caadd6
      https://github.com/llvm/llvm-project/commit/b3c51db292f05cf89201911cbcca6cba83caadd6
  Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

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

  Log Message:
  -----------
  [InstrRef] Preserve debug instr num in aarch64-expand-pseudo LOADgot expansion (#128081)

The aarch64-expand-pseudo pass expands the LOADgot instruction to an
ADRP instruction and a LDRXui instruction. If the LOADgot had a
debug-instr-number, the pass doesn't preserve this to the new expansion.

This patch fixes the issue by making sure the debug-instr-number is
correctly applied to the LDRXui instruction generated.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list