[all-commits] [llvm/llvm-project] 5aa15a: [ARM] - Fix Thumb1InstrInfo::copyPhysReg crash on ...
Pawan Nirpal via All-commits
all-commits at lists.llvm.org
Thu Jul 16 16:25:04 PDT 2026
Branch: refs/heads/release/23.x
Home: https://github.com/llvm/llvm-project
Commit: 5aa15abead01fef21fee4706aa01f39e8ac18829
https://github.com/llvm/llvm-project/commit/5aa15abead01fef21fee4706aa01f39e8ac18829
Author: Pawan Nirpal <pnirpal at qti.qualcomm.com>
Date: 2026-07-16 (Thu, 16 Jul 2026)
Changed paths:
M llvm/lib/Target/ARM/Thumb1InstrInfo.cpp
A llvm/test/CodeGen/ARM/thumb1-copy-physreg-dbg-value-crash.ll
Log Message:
-----------
[ARM] - Fix Thumb1InstrInfo::copyPhysReg crash on debug instructions during liveness walk. (#209478)
clang asserts when compiling with -mthumb -mcpu=arm926ej-s -O0 -g
(pre-v6 Thumb1, debug info enabled). The crash occurs in
LiveRegUnits::stepBackward which unconditionally asserts that it must
never be called on a debug instruction, but Thumb1InstrInfo::copyPhysReg
walks the basic block backward without skipping DBG_VALUE instructions.
Fixes: https://github.com/llvm/llvm-project/issues/209475
(cherry picked from commit 73615e792dc3116d5c66cb8175039dd6d4840f31)
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