ir3: Update ir3_register::instr when cloning instructions
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 18 Jun 2021 10:48:06 +0000 (12:48 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 23 Jun 2021 17:20:29 +0000 (17:20 +0000)
commitef7bc4a2aa6b0a0063a478499f74a85cf3ef1dd1
tree20b895a9f1d4e53edf700824ad7a2845cf3f80d9
parent0f329ba10ae64a6c58d7945d8b1b3f19959878e2
ir3: Update ir3_register::instr when cloning instructions

We happened to not clone any SSA instructions, but we will once address
instructions start counting as SSA. Fix this oversight.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11469>
src/freedreno/ir3/ir3.c