On 6/7/25 4:38 AM, Stafford Horne wrote:
## Note on cstoresi4 and PUT_MODE.
There was some concern raised by Jeff about the use of PUT_MODE in cstoresi4.
This is here to convert a 'ne' to 'ne:SI', for example, allowing the generated
RTL to match with the "*scc" insn pattern later.
It seems to be working OK so I will leave this as is for now. But if you have
any suggestions let me know.
Well, it's a sign that something is wrong. Patterns shouldn't be
changing the mode or code of an existing RTL node (say that 5 fast :-)
I don't mind deferring since apparently it's not playing a role in this
issue, but that code is definitely very fishy.
jeff