Kunqiu Chen
355725a25e
[TSan] Fix missing inst cleanup ( #144067 )
...
Commit 44e875ad5b introduced a change that
replaces `ReplaceInstWithInst` with `Instruction::replaceAllUsesWith`,
without subsequent instruction cleanup.
This results in TSan leaving behind useless `load atomic` instructions
after 'replacing' them.
This commit adds cleanup back, consistent with the context.
2025-06-18 17:09:32 +08:00
..
2025-06-17 10:57:52 -07:00
2025-06-12 11:51:58 +01:00
2025-06-17 17:21:40 -07:00
2025-06-12 11:51:58 +01:00
2025-06-10 07:33:40 -07:00
2025-06-18 12:59:27 +05:30
2025-06-17 16:35:47 -07:00
2025-06-04 15:34:53 -07:00
2025-06-12 13:20:36 +01:00
2025-06-04 12:30:52 -07:00
2025-06-11 12:50:27 -07:00
2025-06-04 12:30:52 -07:00
2025-06-18 10:59:18 +02:00
2025-06-06 22:55:34 -07:00
2025-06-18 13:26:15 +09:00
2025-06-11 11:23:24 +01:00
2025-06-12 11:51:58 +01:00
2025-06-12 11:51:58 +01:00
2025-06-16 20:58:10 -07:00
2025-06-04 12:30:52 -07:00
2025-06-16 12:06:25 -07:00
2025-06-16 15:03:02 -04:00
2025-06-06 09:45:06 -04:00
2025-06-04 12:30:52 -07:00
2025-06-05 11:09:20 -07:00
2025-06-13 12:09:58 -07:00
2025-06-11 09:19:13 -07:00
2025-06-17 22:44:02 +02:00
2025-06-13 10:36:09 -07:00
2025-06-18 10:50:17 +02:00
2025-06-16 12:55:12 -07:00
2025-06-04 12:30:52 -07:00
2025-06-10 11:36:24 -07:00
2025-06-18 17:09:32 +08:00
2025-06-04 12:30:52 -07:00