Andres Chavarria
9b63a92ca7
Implement areInlineCompatible for SystemZ using feature bitset ( #132976 )
...
## What?
Implement `areInlineCompatible` for the SystemZ target using
FeatureBitset comparison.
## Why?
The default implementation in `TargetTransformInfoImpl.h` makes a string
comparison and only inlines when the target-cpu and the target-features
for caller and callee are the same. We are missing out on optimizations
when the callee has a subset of features of the caller.
## How?
Get the FeatureBitset of the caller and callee and check when callee is
a subset or equal to the caller's features. It's a similar
implementation to ARM, PowerPC...
## Testing?
Test cases check for when the callee is a subset of the caller, when
it's not a subset and when both are equals.
2025-04-08 00:50:30 +02:00
..
2025-02-14 08:56:07 +00:00
2024-10-11 10:19:54 -04:00
2024-11-25 12:34:46 +08:00
2024-08-26 18:45:34 -07:00
2025-02-24 17:53:43 -05:00
2024-03-27 14:16:03 +08:00
2025-04-08 00:50:30 +02:00
2024-08-30 12:06:24 +01:00
2024-10-17 20:28:47 -05:00
2025-01-29 16:56:47 +01:00
2025-03-14 15:50:49 +00:00
2024-12-12 12:59:59 +01:00
2024-07-02 10:43:49 +02:00
2024-06-04 08:31:03 +02:00
2024-11-09 16:17:16 +00:00
2024-10-17 20:28:47 -05:00
2025-01-29 16:56:47 +01:00
2025-01-29 16:56:47 +01:00
2024-07-01 21:09:41 +02:00
2025-01-29 16:56:47 +01:00
2024-02-05 11:57:34 +01:00
2024-06-11 09:50:13 -07:00
2025-03-22 10:13:39 -07:00
2024-10-30 11:19:23 -04:00
2025-03-14 15:50:49 +00:00
2023-12-31 20:44:48 +08:00
2024-03-20 10:59:45 +01:00
2023-12-31 20:44:48 +08:00
2025-03-14 15:50:49 +00:00
2024-11-15 14:19:50 +00:00
2024-11-15 14:19:50 +00:00
2024-06-14 15:07:27 +01:00
2024-05-19 14:59:03 +01:00
2024-02-29 10:42:06 +08:00
2024-02-05 11:57:34 +01:00
2024-11-01 09:55:17 -07:00
2023-10-02 21:27:07 -07:00
2024-05-10 21:18:53 +08:00
2024-05-02 16:29:09 +02:00
2024-05-02 16:29:09 +02:00
2024-11-15 14:19:50 +00:00
2024-11-15 14:19:50 +00:00
2024-07-10 11:32:41 +02:00
2025-03-14 15:50:49 +00:00
2024-05-10 21:18:53 +08:00
2024-06-10 15:32:35 -07:00
2024-02-05 11:57:34 +01:00
2024-02-05 11:57:34 +01:00
2025-02-14 09:28:57 +01:00
2023-12-31 20:44:48 +08:00
2025-03-14 15:50:49 +00:00
2024-10-03 08:06:56 -07:00
2025-04-01 06:24:59 +07:00
2025-03-14 15:50:49 +00:00
2025-01-29 16:56:47 +01:00
2024-06-21 16:14:28 +08:00
2025-01-29 16:56:47 +01:00
2025-01-29 16:56:47 +01:00
2023-08-16 22:43:04 -05:00
2024-11-15 14:19:50 +00:00
2024-11-15 14:19:50 +00:00
2023-11-10 10:50:35 -05:00
2024-07-09 15:08:04 +08:00
2024-05-02 16:29:09 +02:00
2024-05-02 16:29:09 +02:00
2024-12-11 16:49:48 +13:00
2024-09-20 19:57:35 -05:00
2023-10-03 16:12:16 -05:00
2024-08-24 14:39:20 +01:00
2024-06-29 23:21:33 -07:00
2024-06-29 23:21:33 -07:00