[all-commits] [llvm/llvm-project] defbbf: [RISCV][MoveMerge] Don't copy kill flag when movin...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu Aug 14 14:53:16 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: defbbf0129d5c1ac360c6ffd9eaa2f07ab07d622
https://github.com/llvm/llvm-project/commit/defbbf0129d5c1ac360c6ffd9eaa2f07ab07d622
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-08-14 (Thu, 14 Aug 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVMoveMerger.cpp
A llvm/test/CodeGen/RISCV/pr153598.mir
Log Message:
-----------
[RISCV][MoveMerge] Don't copy kill flag when moving past an instruction that reads the register. (#153644)
If we're moving the second copy before another instruction that reads
the copied register, we need to clear the kill flag on the combined
move.
Fixes #153598.
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