Fangrui Song
04a67528d3
[MC] Simplify MCBinaryExpr/MCUnaryExpr printing by reducing parentheses ( #133674 )
...
The existing pretty printer generates excessive parentheses for
MCBinaryExpr expressions. This update removes unnecessary parentheses
of MCBinaryExpr with +/- operators and MCUnaryExpr.
Since relocatable expressions only use + and -, this change improves
readability in most cases.
Examples:
- (SymA - SymB) + C now prints as SymA - SymB + C.
This updates the output of -fexperimental-relative-c++-abi-vtables for
AArch64 and x86 to `.long _ZN1B3fooEv@PLT-_ZTV1B-8`
- expr + (MCTargetExpr) now prints as expr + MCTargetExpr, with this
change primarily affecting AMDGPUMCExpr.
2025-03-30 22:03:14 -07:00
..
2025-03-06 09:28:44 -08:00
2024-12-06 08:46:56 +00:00
2024-08-08 11:39:05 +01:00
2025-02-05 07:44:53 +00:00
2025-01-03 11:28:31 +00:00
2025-02-13 09:09:29 +00:00
2024-10-28 09:01:06 +00:00
2024-12-15 12:42:17 -08:00
2024-09-02 08:54:10 +01:00
2025-03-06 09:28:44 -08:00
2024-11-11 19:39:02 +00:00
2024-12-07 10:14:36 +03:00
2025-02-13 09:09:29 +00:00
2024-10-17 20:25:06 +08:00
2024-10-17 20:25:06 +08:00
2024-10-17 20:25:06 +08:00
2024-08-09 08:50:21 +01:00
2024-10-17 20:25:06 +08:00
2024-09-07 14:09:29 +08:00
2025-01-10 09:05:06 +01:00
2025-02-22 09:16:14 +07:00
2025-02-05 23:29:02 +07:00
2024-12-07 10:14:36 +03:00
2024-12-07 10:14:36 +03:00
2025-02-05 23:29:02 +07:00
2024-12-07 10:14:36 +03:00
2024-09-30 11:44:49 -07:00
2024-09-17 09:04:43 -07:00
2024-12-07 10:14:36 +03:00
2024-12-07 10:14:36 +03:00
2024-12-07 10:14:36 +03:00
2025-02-01 20:40:50 +03:00
2024-11-06 11:53:33 +00:00
2025-02-01 20:40:50 +03:00
2024-12-07 10:14:36 +03:00
2025-02-22 09:16:14 +07:00
2025-02-01 20:40:50 +03:00
2024-12-07 10:14:36 +03:00
2025-02-05 23:29:02 +07:00
2024-12-07 10:14:36 +03:00
2024-12-07 10:14:36 +03:00
2025-02-01 20:40:50 +03:00
2025-02-01 20:40:50 +03:00
2025-02-01 20:40:50 +03:00
2024-09-07 14:09:29 +08:00
2024-12-07 10:14:36 +03:00
2024-09-07 14:09:29 +08:00
2024-12-07 10:14:36 +03:00
2024-09-07 14:09:29 +08:00
2025-02-01 20:40:50 +03:00
2024-12-07 10:14:36 +03:00
2024-12-07 10:14:36 +03:00
2024-11-13 12:16:28 +00:00
2024-12-07 10:14:36 +03:00
2024-09-19 08:32:23 +01:00
2025-03-07 08:17:23 +07:00
2024-09-24 08:10:50 +01:00
2025-02-01 20:40:50 +03:00
2024-09-19 08:32:23 +01:00
2025-02-22 09:16:14 +07:00
2024-12-06 08:46:56 +00:00
2024-11-06 14:46:08 +00:00
2024-12-07 10:14:36 +03:00
2024-12-07 10:14:36 +03:00
2024-12-07 10:14:36 +03:00
2025-02-05 23:29:02 +07:00
2024-10-10 08:39:25 +08:00
2025-02-22 09:16:14 +07:00
2025-03-07 08:17:23 +07:00
2025-02-22 09:16:14 +07:00
2025-02-22 09:16:14 +07:00
2024-12-07 10:14:36 +03:00
2024-09-13 10:59:57 +01:00
2024-12-07 10:14:36 +03:00
2025-02-22 09:16:14 +07:00
2025-02-22 09:16:14 +07:00
2025-02-22 09:16:14 +07:00
2025-02-22 09:16:14 +07:00
2024-10-28 09:01:06 +00:00
2024-10-28 09:01:06 +00:00
2024-10-28 09:01:06 +00:00
2024-10-28 09:01:06 +00:00
2024-10-28 09:01:06 +00:00
2024-10-28 09:01:06 +00:00
2024-10-28 09:01:06 +00:00
2024-10-28 09:01:06 +00:00
2025-02-01 20:40:50 +03:00
2025-02-01 20:40:50 +03:00
2025-02-26 10:15:17 +07:00
2025-03-06 09:28:44 -08:00
2024-09-17 18:29:20 +01:00
2025-02-01 20:40:50 +03:00
2024-11-05 14:42:15 +00:00
2025-03-30 22:03:14 -07:00
2024-12-07 10:14:36 +03:00
2024-12-07 10:14:36 +03:00