Petar Avramovic
0f3e72e86c
AMDGPU/GlobalISel: Fix crash after mad/fma_mix fails selection
...
When selectVOP3PMadMixModsImpl fails, it can still create new copy instr
via selectVOP3ModsImpl. When selectG_FMA_FMAD gives up, new copy instr
will remain dead but will not be automatically removed.
InstructionSelect does not check if instructions created during selection
are dead.
Such dead copy doesn't have register class on dst operand and causes crash.
Fix is to build copy when operands are being added to selected instruction.
Differential Revision: https://reviews.llvm.org/D138044
2022-11-18 18:02:26 +01:00
..
2022-11-18 14:15:05 +03:00
2022-11-14 15:36:18 +00:00
2022-06-24 15:39:51 -07:00
2022-11-08 07:57:21 +00:00
2022-11-18 14:15:05 +03:00
2022-09-26 09:54:47 +08:00
2022-10-26 07:13:40 +00:00
2022-10-31 13:03:41 -07:00
2022-10-31 13:03:41 -07:00
2022-02-17 09:31:42 +00:00
2022-07-19 17:46:19 +01:00
2022-07-19 17:46:19 +01:00
2022-10-28 16:39:09 -07:00
2022-07-15 11:01:53 -07:00
2022-11-16 14:47:24 -08:00
2022-07-19 17:46:19 +01:00
2022-10-05 06:19:47 -07:00
2022-06-01 16:24:09 +00:00
2022-09-28 14:55:16 +01:00
2022-11-16 14:47:24 -08:00
2022-10-26 07:13:40 +00:00
2022-06-23 21:04:54 +08:00
2022-08-20 08:30:42 +02:00
2022-11-08 08:02:34 +00:00
2022-10-19 11:10:00 +01:00
2022-09-05 14:22:06 +01:00
2022-10-11 23:28:43 +05:30
2022-09-06 16:46:37 -04:00
2022-09-03 23:27:25 -07:00
2022-08-19 15:38:36 -07:00
2022-06-29 21:30:20 +01:00
2022-11-11 17:02:19 -08:00
2022-03-09 12:18:02 +05:30
2022-10-03 12:58:29 -07:00
2022-11-18 18:02:26 +01:00
2022-11-18 18:02:26 +01:00
2022-09-15 16:46:14 +01:00
2022-09-15 16:46:14 +01:00
2022-11-17 09:23:53 -08:00
2022-10-29 12:30:04 +01:00
2022-11-17 20:50:04 -08:00
2022-10-04 14:23:17 +00:00
2022-09-28 15:40:52 -04:00
2022-11-14 10:52:04 +01:00
2022-05-04 08:32:38 +02:00
2022-06-20 15:15:52 +00:00
2022-10-05 09:26:39 -05:00
2022-11-09 16:54:20 +00:00
2022-08-28 10:41:50 -07:00
2022-09-28 13:13:40 -07:00
2022-09-28 13:13:40 -07:00
2022-03-16 08:43:00 +01:00
2022-07-13 23:11:56 -07:00
2022-08-19 15:38:36 -07:00
2022-06-01 21:14:48 -04:00
2022-06-01 09:45:40 -04:00
2022-07-24 21:50:35 -07:00
2022-08-28 10:41:50 -07:00
2022-07-19 15:16:28 +05:30
2022-07-19 15:16:28 +05:30
2022-10-26 07:13:40 +00:00
2022-11-08 12:46:16 +01:00
2022-08-28 10:41:50 -07:00
2022-11-16 14:47:24 -08:00
2022-03-07 23:13:02 -08:00
2022-10-03 07:36:18 +01:00
2022-11-18 08:53:49 -08:00
2022-05-27 12:36:17 -05:00
2022-10-19 04:38:16 -05:00
2022-08-31 15:44:51 +01:00
2022-09-29 09:52:45 +05:30
2022-11-16 14:47:24 -08:00
2022-09-26 10:19:35 +08:00
2022-07-18 12:12:41 -07:00
2022-09-30 14:27:50 +01:00
2022-09-28 20:03:18 +09:00
2022-05-11 10:31:49 -04:00
2022-09-26 09:54:47 +08:00
2022-06-01 09:45:40 -04:00
2022-11-07 10:42:35 -08:00
2022-11-07 10:42:35 -08:00
2022-11-16 14:47:24 -08:00
2022-08-28 10:41:50 -07:00
2022-02-18 15:05:21 +01:00
2022-11-14 15:36:18 +00:00
2022-09-26 09:54:47 +08:00
2022-09-25 13:25:41 +02:00
2022-11-04 16:14:04 -07:00
2022-06-16 18:23:14 +01:00
2022-09-23 17:52:10 +02:00
2022-11-18 14:15:05 +03:00
2022-11-08 07:57:21 +00:00
2022-11-17 16:45:48 +00:00
2022-10-01 16:21:24 +09:00
2022-08-13 12:55:42 -07:00
2022-10-28 04:22:46 +02:00
2022-08-13 12:55:42 -07:00
2022-06-16 18:23:14 +01:00
2022-07-29 14:21:13 +01:00
2022-11-03 11:52:56 +01:00
2022-11-03 11:52:56 +01:00
2022-11-18 12:13:14 +01:00
2022-08-19 15:38:36 -07:00
2022-10-01 16:21:24 +09:00
2022-11-18 14:15:05 +03:00
2022-07-05 09:18:19 -04:00
2022-06-17 09:03:16 -04:00
2022-10-11 14:41:27 +03:00
2022-02-18 15:08:25 +00:00
2022-09-25 17:55:09 -04:00
2022-08-08 11:24:15 -07:00
2022-03-16 08:43:00 +01:00
2022-08-08 11:24:15 -07:00
2022-03-16 08:43:00 +01:00
2022-03-16 08:43:00 +01:00
2022-03-16 08:43:00 +01:00
2022-06-01 09:45:40 -04:00
2022-06-01 09:45:40 -04:00
2022-09-25 17:55:09 -04:00
2022-11-17 09:23:53 -08:00
2022-11-17 09:23:53 -08:00
2022-04-19 22:36:58 -07:00
2022-07-14 09:33:28 +01:00
2022-02-18 15:05:21 +01:00
2022-11-18 15:57:34 +01:00
2022-11-18 15:57:34 +01:00
2022-04-12 16:42:30 +01:00
2022-04-12 16:42:30 +01:00
2022-02-25 14:30:44 -05:00
2022-02-25 14:30:44 -05:00
2022-08-04 12:58:25 -07:00
2022-11-16 14:47:24 -08:00
2022-06-30 11:13:45 -04:00
2022-09-19 23:31:45 +02:00
2022-11-18 16:57:55 +00:00
2022-11-01 11:47:59 +01:00
2022-11-04 15:28:35 +05:30
2022-04-21 07:57:26 +05:30
2022-06-09 21:29:56 +01:00
2022-11-08 11:51:16 +00:00
2022-07-15 13:11:59 +03:00
2022-11-17 16:45:48 +00:00
2022-11-17 16:45:48 +00:00
2022-11-14 15:36:18 +00:00
2022-11-14 15:44:27 +00:00
2022-11-17 09:23:53 -08:00
2022-11-17 09:23:53 -08:00
2022-08-28 10:41:50 -07:00
2022-11-14 15:36:18 +00:00
2022-07-12 16:53:53 +01:00
2022-09-14 13:27:21 +08:00
2022-11-04 15:28:35 +05:30
2022-11-02 10:48:51 -07:00
2022-11-03 15:33:30 +00:00
2022-07-14 09:45:31 +02:00
2022-09-02 16:45:10 +02:00
2022-09-20 09:56:28 -04:00
2022-08-23 18:16:47 +02:00
2022-11-04 15:14:43 -07:00
2022-11-03 15:33:30 +00:00
2022-11-17 10:01:40 +05:30
2022-10-16 09:19:09 -07:00
2022-10-28 09:45:17 +09:00
2022-08-28 10:41:50 -07:00
2022-07-15 11:01:53 -07:00
2022-11-18 15:57:34 +01:00
2022-11-18 15:57:34 +01:00
2022-09-20 09:56:28 -04:00
2022-05-11 10:31:49 -04:00
2022-11-18 16:57:55 +00:00
2022-10-28 09:45:17 +09:00
2022-09-05 12:53:05 +01:00
2022-11-14 15:15:03 +00:00
2022-05-25 14:44:09 -04:00
2022-11-07 15:52:55 +03:00
2022-10-10 10:33:49 -04:00
2022-11-14 15:44:27 +00:00
2022-11-18 08:53:49 -08:00
2022-11-08 08:02:34 +00:00
2022-10-24 17:06:52 +03:00
2022-10-25 13:11:17 -04:00
2022-09-20 09:56:28 -04:00