Michal Paszkowski
8bfb2b6d77
[SPIR-V] Remove switch G_ICMP+G_BRCOND+G_BR before ISel
...
IRTranslator lowers switches to [G_SUB] + G_ICMP + G_BRCOND + G_BR
sequences. Since values and destination MBBs are included in the
spv_switch intrinsics, the sequences are not needed for ISel.
Before this commit, the information decoded by these sequences were
added to spv_switch intrinsics in SPIRVPreLegalizer and the sequences
were kept until SPIRVModuleAnalysis where they were marked skipped for
emission.
After this commit, the [G_SUB] + G_ICMP + G_BRCOND + G_BR sequences
and MBBs containing only these MIs are erased in SPIRVPreLegalizer.
Differential Revision: https://reviews.llvm.org/D146923
2023-04-04 23:50:07 +02:00
..
2023-04-04 23:50:07 +02:00
2023-03-13 22:44:47 +01:00
2022-08-28 22:18:11 +03:00
2023-01-19 14:02:14 +01:00
2023-02-21 21:17:33 +01:00
2023-01-19 14:02:14 +01:00
2023-01-19 15:26:34 +01:00
2022-09-05 15:52:01 +03:00
2023-04-04 23:50:07 +02:00
2022-10-19 22:13:29 +02:00
2022-08-03 02:33:24 +03:00
2023-01-19 14:02:14 +01:00
2022-08-25 00:30:33 +03:00
2022-09-02 11:59:18 +03:00
2022-09-02 11:59:18 +03:00
2022-08-28 22:18:11 +03:00
2022-08-28 22:18:11 +03:00
2022-08-28 22:18:11 +03:00
2022-09-05 15:52:01 +03:00
2022-09-02 11:59:18 +03:00
2022-08-28 22:18:11 +03:00
2022-08-28 22:18:11 +03:00
2022-08-28 22:18:11 +03:00
2023-01-19 14:02:14 +01:00
2022-09-02 13:19:28 +03:00
2022-08-02 20:22:40 +03:00
2022-09-05 15:52:01 +03:00
2022-09-05 15:52:01 +03:00
2022-09-02 11:59:18 +03:00
2023-01-19 14:02:14 +01:00
2023-01-19 14:02:14 +01:00
2023-01-19 14:02:14 +01:00
2023-01-19 14:02:14 +01:00
2023-02-27 21:39:25 +01:00
2023-01-19 14:02:14 +01:00
2023-01-19 14:02:14 +01:00
2023-01-19 14:02:14 +01:00
2022-08-28 22:18:11 +03:00
2023-01-19 14:02:14 +01:00
2022-08-02 20:22:40 +03:00
2023-01-19 14:02:14 +01:00
2022-09-15 15:53:44 +03:00
2022-09-02 13:19:28 +03:00
2022-08-02 20:22:40 +03:00
2022-08-02 20:22:40 +03:00
2022-09-02 13:19:28 +03:00
2022-08-03 02:33:24 +03:00
2023-01-19 14:02:14 +01:00
2022-05-19 01:44:38 +03:00
2022-08-02 20:22:40 +03:00
2022-08-02 20:22:40 +03:00
2023-01-19 14:02:14 +01:00
2023-01-19 14:02:14 +01:00
2022-09-02 11:59:18 +03:00
2023-01-19 14:02:14 +01:00
2022-09-02 11:59:18 +03:00
2022-09-02 11:59:18 +03:00
2022-08-02 20:22:40 +03:00
2022-09-05 15:52:01 +03:00
2022-08-02 20:22:40 +03:00
2022-08-02 20:22:40 +03:00
2022-12-26 01:25:20 +03:00
2022-09-02 11:59:18 +03:00
2023-02-27 21:39:25 +01:00
2022-08-02 20:22:40 +03:00
2023-01-19 14:02:14 +01:00
2022-08-03 02:33:24 +03:00
2022-08-02 20:22:40 +03:00