Usman Nadeem
b10e4b82e6
[GVN] Restrict equality propagation for pointers ( #82458 )
...
This patch does the following:
Adds the following functions:
- replaceDominatedUsesWithIf() that takes a callback.
- canReplacePointersIfEqual(...) returns true if the underlying object
is the same, and for null and const dereferencable pointer replacements.
- canReplacePointersIfEqualInUse(...) returns true for the above as well
as if the use is in icmp/ptrtoint or phi/selects feeding into them.
Updates GVN using the functions above so that the pointer replacements
are only made using the above API.
https://reviews.llvm.org/D143129
2024-04-24 08:59:42 -07:00
..
2023-06-06 19:45:34 +00:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2023-01-11 14:19:34 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-07 22:22:08 +03:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2023-03-22 15:23:31 +01:00
2022-12-23 10:00:59 +01:00
2022-12-08 11:47:16 +01:00
2022-12-23 10:00:59 +01:00
2023-01-11 14:19:34 +01:00
2022-12-07 22:22:08 +03:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2023-04-27 13:04:17 -07:00
2022-12-23 10:00:59 +01:00
2023-12-05 10:09:52 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2024-02-05 11:57:34 +01:00
2024-04-24 08:59:42 -07:00
2023-03-09 13:08:19 +01:00
2023-03-09 13:08:19 +01:00
2023-05-19 21:27:35 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2023-06-27 16:53:50 -07:00
2022-12-23 10:00:59 +01:00
2023-06-09 15:41:32 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2023-01-10 11:38:58 -08:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2023-09-13 11:23:26 +03:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2023-06-06 19:45:34 +00:00
2022-12-23 10:00:59 +01:00
2023-02-14 13:30:23 -08:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2023-01-11 14:19:34 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2023-02-22 14:47:00 +01:00
2023-02-02 14:25:13 +08:00
2022-12-23 10:00:59 +01:00
2023-09-14 13:49:01 +00:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-07 22:22:08 +03:00
2022-12-07 22:22:08 +03:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2024-02-05 11:57:34 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2023-01-11 14:19:34 +01:00
2022-12-23 10:00:59 +01:00
2023-10-05 11:21:33 +02:00
2022-12-23 10:00:59 +01:00
2023-05-31 15:03:41 +02:00
2023-06-30 15:52:40 +01:00
2023-09-15 07:04:32 +02:00
2023-09-15 11:50:34 +02:00
2023-10-19 09:08:59 +02:00
2024-02-26 15:55:56 +08:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2023-05-19 16:15:06 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-07 22:22:08 +03:00
2023-10-10 19:22:00 +03:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2023-10-24 18:18:51 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-20 11:02:11 -05:00
2022-12-23 10:00:59 +01:00
2023-01-11 14:19:34 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00
2022-12-23 10:00:59 +01:00