[all-commits] [llvm/llvm-project] c298f7: [SystemZ] Fix regstate of SELRMux operand in selec...
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Fri Feb 28 06:03:27 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c298f71ea6fd2965e1768307496ee3aa0c40fd07
https://github.com/llvm/llvm-project/commit/c298f71ea6fd2965e1768307496ee3aa0c40fd07
Author: Jonas Paulsson <paulson1 at linux.ibm.com>
Date: 2025-02-28 (Fri, 28 Feb 2025)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZPostRewrite.cpp
M llvm/test/CodeGen/SystemZ/cond-move-10.mir
A llvm/test/CodeGen/SystemZ/cond-move-11.mir
Log Message:
-----------
[SystemZ] Fix regstate of SELRMux operand in selectSLRMux(). (#128555)
It seems that there can be other cases with this that also can lead to
wrong code (discovered with csmith). This time it involved not the kill
flag but the undef flag.
Use the intersection of the flags from both MachineOperand:s instead
of the RegState from just one of them.
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