TSTEQ lowering and optimization bug
https://lore.kernel.org/qemu-devel/20241206095824.281216-1-wannacu2049@gmail.com/
The x86_64 test case within the thread asserts on a riscv64 host.
The problem is incorrect re-use of a temporary, which picks up stale optimization state, which results in an opcode incorrectly being optimized away.