Jamey Sharp
97381792ac
Generalize u/sextend constant folding to all types ( #5706 )
...
Also move these optimization rules to cprop.isle; it's where all the
other similar rules are.
Like the other cprop rules, these can subsume any other rules. We can't
do better than reducing an expression to a constant.
The new i64_sextend_imm64 and u64_uextend_imm64 constructors are useful
helpers to clean up other code. I applied them to `imm64_icmp` while I
was here, as well as using the existing `ty_mask` helper to clean up
`imm64_masked`.
2023-02-03 17:29:21 -08:00
..
2022-09-27 17:30:31 -07:00
2023-01-30 20:34:56 +00:00
2023-02-01 21:20:35 +00:00
2023-02-03 16:23:18 -08:00
2023-01-30 20:34:56 +00:00
2023-01-30 20:34:56 +00:00
2023-02-03 17:29:21 -08:00
2023-02-01 21:20:35 +00:00
2022-12-16 10:46:09 -08:00
2022-11-17 21:13:24 +00:00
2023-01-30 20:34:56 +00:00
2019-10-10 16:45:48 +02:00
2023-01-30 20:34:56 +00:00
2022-12-06 14:58:57 -08:00
2022-12-16 10:46:09 -08:00
2022-10-17 16:00:27 -07:00
2019-01-28 15:56:54 -08:00
2023-01-17 16:31:15 -08:00
2019-10-24 17:20:12 -07:00
2023-01-30 20:34:56 +00:00
2023-01-19 11:51:19 -08:00
2023-01-30 20:34:56 +00:00
2019-01-28 15:56:54 -08:00
2022-08-12 16:47:43 +00:00
2023-01-30 20:34:56 +00:00
2023-02-03 17:29:21 -08:00
2019-10-02 11:50:44 -07:00
2022-12-12 09:01:06 -08:00
2023-01-17 16:31:15 -08:00
2023-01-30 20:34:56 +00:00
2022-12-16 10:46:09 -08:00
2023-01-17 16:31:15 -08:00
2023-01-05 21:33:12 -08:00
2022-12-06 14:58:57 -08:00
2023-02-03 17:29:21 -08:00
2021-10-04 10:36:12 +02:00
2023-01-30 20:34:56 +00:00
2022-08-02 12:05:40 -07:00
2022-10-11 18:15:53 -07:00
2023-01-19 15:46:53 -08:00
2023-01-04 22:03:16 -08:00
2023-01-30 20:34:56 +00:00
2023-01-30 21:25:14 -08:00
2022-12-09 13:42:03 -08:00
2022-12-06 14:58:57 -08:00
2022-08-01 11:19:15 +02:00
2022-04-14 10:28:21 -07:00
2023-01-31 14:26:10 -08:00