[all-commits] [llvm/llvm-project] a2d717: [RISCV] Prevent copying dummy_reg_pair_with_x0 in ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri May 23 11:36:11 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a2d717d303fb48f468ea366fd8cdee5e8f951b21
https://github.com/llvm/llvm-project/commit/a2d717d303fb48f468ea366fd8cdee5e8f951b21
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-05-23 (Fri, 23 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVMakeCompressible.cpp
M llvm/test/CodeGen/RISCV/make-compressible-zilsd.mir
Log Message:
-----------
[RISCV] Prevent copying dummy_reg_pair_with_x0 in RISCVMakeCompressible. (#141261)
dummy_reg_pair_with_x0 is the odd subregister of X0_Pair, but it isn't a
real register. We need to copy X0 instead since X0_Pair reads as 0.
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