This testcase shows that we attempt to assign the same offset sp + 16 to two different stack objects.
The fix will come in a later change.
Differential D98801
[NFC][RISCV] Add test showing wrong stack slot for GPR and RVV spilled registers rogfer01 on Mar 17 2021, 11:37 AM. Authored by
Details This testcase shows that we attempt to assign the same offset sp + 16 to two different stack objects. The fix will come in a later change.
Diff Detail
Event TimelineComment Actions I'm wondering if the commit message should indicate it's adding a test for the issue (though I realise space is at a premium). I was a bit confused at first.
Comment Actions LGTM though (sorry) maybe the tests could have a short comment explaining what they're testing (since they'll be fixed by a future patch anyway) and what to be wary of when the output changes. |
nit: opening brace on a new line is a bit unusual?