Ting-Yuan Huang
c1d721a15f
when: emit lookupswitch/tableswitch if possible
...
A lookupswitch or tableswitch can be used if all conditions are equality
checks to constants. To be more specific, it can be done if:
1. All conditions are CALL 'EQEQ(Any?, Any?)': Boolean
2. All types of variables involved in comparison are in the same group
of Char/Byte/Short/Int, String or enum.
3. All arg0 refer to the same value.
4. All arg1 are IrConst<*>.
Change-Id: Ifd7cb618395f6c5cc64601018b446f0bb7f5891c
2019-03-06 13:33:55 +01:00
..
2018-12-21 16:20:45 +01:00
2019-02-18 12:39:03 +03:00
2018-12-21 16:20:45 +01:00
2019-02-01 21:45:44 +03:00
2019-02-23 00:42:16 +03:00
2018-12-21 16:20:45 +01:00
2019-02-01 17:33:49 +03:00
2018-12-21 16:20:45 +01:00
2018-12-28 14:18:39 +03:00
2019-02-07 23:32:32 +01:00
2019-02-19 15:46:52 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2019-02-19 18:09:23 +03:00
2019-01-23 15:11:14 +01:00
2018-12-28 14:18:39 +03:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2019-01-23 15:11:14 +01:00
2019-02-01 17:33:49 +03:00
2019-01-19 09:43:43 +01:00
2019-02-01 17:33:49 +03:00
2018-12-21 16:20:45 +01:00
2019-02-23 00:42:16 +03:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-28 14:18:39 +03:00
2018-12-21 16:20:45 +01:00
2019-02-19 15:46:52 +01:00
2019-01-29 14:25:17 +01:00
2019-02-01 21:45:44 +03:00
2019-02-19 16:37:47 +01:00
2019-01-25 15:57:13 +01:00
2019-02-19 15:46:52 +01:00
2018-12-21 16:20:45 +01:00
2019-01-10 17:17:51 +03:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-28 14:18:39 +03:00
2019-02-27 08:36:35 +01:00
2019-01-17 13:49:39 +03:00
2018-12-21 16:20:45 +01:00
2019-03-06 13:33:55 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2019-02-23 00:42:16 +03:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2019-01-19 09:43:43 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-20 12:53:24 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2019-02-07 23:32:32 +01:00
2019-02-07 23:32:32 +01:00
2019-02-05 08:44:33 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00
2018-12-21 16:20:45 +01:00