Luke Lau
7ba6768df8
Revert "[RISCV] Update V0Defs after moving Src in peepholes ( #107359 )"
...
This fixes #107950 and adds a test case for it. The issue was due to
us incorrectly assuming that we stored a V0Defs entry for every single
instruction.
We actually only store them for instructions that use V0, so when we
updated the V0Def after moving we sometimes ended up copying nullptr
over from an instruction that doesn't use V0 and clearing the V0Def
entry inadvertently.
Because we don't have V0Defs on instructions that don't use V0, the
FIXME was never actually needed in the first place since the
bookkeeping wasn't out of sync to begin with.
That commit also mentioned that a future unmasked to masked pseudo
peephole might need unmasked pseudos to have V0Defs entries, but after
working on this locally it turns out we don't.
This reverts commit ce3648094d44e8c098396a353b215acecb363cda.
2024-09-10 13:26:07 +08:00
..
2024-08-31 01:02:50 -07:00
2024-07-11 11:10:02 +08:00
2024-09-06 09:28:33 -07:00
2024-04-24 09:29:20 -07:00
2024-09-05 15:27:48 +08:00
2024-09-09 09:15:07 +08:00
2024-08-08 13:22:59 +08:00
2024-08-14 11:42:31 +03:00
2024-09-09 09:15:07 +08:00
2024-09-07 12:47:24 -07:00
2024-09-06 09:28:33 -07:00
2024-03-27 23:03:13 +08:00
2024-08-01 09:37:42 +08:00
2024-09-09 09:15:07 +08:00
2024-09-09 09:15:07 +08:00
2024-07-10 19:34:48 +08:00
2024-08-25 14:27:08 -07:00
2024-08-21 19:23:07 -07:00
2024-07-29 11:03:07 +08:00
2024-04-17 10:42:40 +08:00
2024-08-28 12:48:20 +01:00
2024-08-12 09:34:02 -07:00
2024-08-08 13:22:59 +08:00
2024-04-24 14:24:14 +01:00
2024-07-30 17:47:00 +08:00
2024-04-24 14:24:14 +01:00
2024-09-05 15:27:48 +08:00
2024-04-03 15:27:15 -07:00
2024-09-09 13:11:08 +08:00
2024-09-05 09:34:39 +02:00
2024-08-21 19:23:07 -07:00
2024-08-12 09:34:02 -07:00
2024-07-23 21:19:57 +08:00
2024-08-25 14:27:08 -07:00
2024-09-01 13:26:38 -07:00
2024-08-12 09:34:02 -07:00
2024-02-07 16:03:30 +08:00
2024-09-05 15:27:48 +08:00
2024-09-09 13:11:08 +08:00
2024-09-02 10:14:04 -07:00
2024-08-01 15:25:36 +08:00
2024-07-15 10:25:25 +10:00
2024-09-05 15:27:48 +08:00
2024-08-30 07:46:06 +08:00
2024-07-27 17:26:32 -07:00
2024-07-11 11:10:02 +08:00
2024-06-13 11:52:22 +02:00
2024-02-01 10:58:21 -08:00
2024-08-19 10:32:47 -07:00
2024-06-21 11:11:10 +08:00
2024-04-15 22:33:14 -07:00
2024-09-03 20:18:01 -07:00
2024-09-03 16:04:51 -07:00
2023-12-30 15:40:20 +08:00
2024-01-29 15:58:54 +00:00
2024-04-08 16:40:02 +08:00
2024-09-05 15:27:48 +08:00
2024-09-05 15:27:48 +08:00
2024-09-06 08:59:13 +08:00
2024-08-31 19:28:36 +08:00
2024-09-08 21:19:29 -07:00
2024-09-05 22:29:23 -07:00
2024-08-08 13:22:59 +08:00
2024-06-13 20:20:27 +01:00
2024-01-25 17:10:49 +08:00
2024-03-27 13:40:38 +08:00
2024-07-26 17:11:01 -07:00
2023-12-07 18:21:38 -08:00
2024-08-08 17:33:54 -07:00
2024-06-27 18:42:27 -07:00
2024-08-21 08:45:45 +01:00
2024-08-08 09:15:43 -07:00
2024-02-07 14:30:45 -08:00
2024-05-08 11:22:16 +08:00
2024-09-03 15:55:39 +08:00
2024-04-08 13:35:37 +08:00
2024-09-03 23:01:05 +08:00
2024-05-03 11:11:29 -04:00
2024-09-05 13:01:29 -04:00
2024-08-19 09:41:42 -04:00
2024-07-30 17:47:00 +08:00
2024-06-20 18:14:09 +03:00
2024-08-14 11:42:31 +03:00
2024-06-19 12:37:47 +03:00
2024-09-01 21:02:06 -07:00
2024-04-16 13:55:45 +08:00
2024-03-14 06:02:42 -07:00
2024-05-03 11:11:29 -04:00
2024-05-03 11:11:29 -04:00
2024-08-08 09:17:43 -07:00
2024-08-01 12:24:25 +08:00
2024-08-21 19:23:07 -07:00
2024-08-17 18:34:23 -07:00
2024-07-02 18:48:28 -07:00
2024-09-09 09:15:07 +08:00
2024-08-19 18:20:02 -07:00
2024-09-05 13:05:01 +08:00
2024-08-30 10:50:15 +08:00
2024-09-10 13:26:07 +08:00