[all-commits] [llvm/llvm-project] f5f6af: [InstrRef] Preserve debug instr num in aarch64-con...
Shubham Sandeep Rastogi via All-commits
all-commits at lists.llvm.org
Thu Mar 20 23:06:31 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5f6af8e7c0168327015717fc0b452f6152319af
https://github.com/llvm/llvm-project/commit/f5f6af8e7c0168327015717fc0b452f6152319af
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2025-03-20 (Thu, 20 Mar 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64CondBrTuning.cpp
A llvm/test/CodeGen/AArch64/cond-br-tuning-instr-ref.mir
Log Message:
-----------
[InstrRef] Preserve debug instr num in aarch64-cond-br-tuning. (#132081)
The aarch64-cond-br-tuning pass transforms a CBZX instruction into a
conditional branch (B.cond). One of the by products of the
transformation is that the source instruction of the CBZX, which is an
ANDXri instruction, gets transformed into a ANDSXri instruction, however
this transformation doesn't preserve it's debug instruction number.
This patch fixes that issue.
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