Afanasyev Ivan
4e1b9d34f9
[mir-strip-debug] Fix debug location info strip for bundled instructions ( #113676 )
...
Fix bug that `mir-strip-debug` pass does not remove debug location from
bundled instructions.
Problem arises during testing that debug info does not affect
optimization passes output (`llvm-lit` with ` -Dllc="llc
-debugify-and-strip-all-safe"`), when pass operates on MIR with bundled
instructions + memory operands.
Let mir test check looks like:
```
CHECK-NEXT: BUNDLE {
CHECK-NEXT: $r3 = LD $r1, $r2 :: (load (s64) from %ir.a, !tbaa !2 )
CHECK-NEXT: }
```
So as `mir-strip-debug` pass does not process bundled instructions,
running `llc -debugify-and-strip-all-safe` on the test will produce the
following output:
```
BUNDLE {
$r3 = LD $r1, $r2, debug-location !DILocation(line: 3, column: 1, scope: <0x608cb2b99b10>) :: (load (s64) from %ir.a, !tbaa !2 )
}
```
And test will fail, but it shouldn't.
Seems like the root cause is that `mir-strip-debug` pass should remove
debug location from bundled instructions.
2024-10-29 10:26:15 -07:00
..
2024-06-14 15:07:27 +01:00
2024-10-29 10:26:15 -07:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2023-03-31 16:47:35 +01:00
2024-01-09 13:32:59 +07:00
2024-01-09 13:32:59 +07:00
2024-09-23 13:00:44 -04:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2014-02-13 14:44:26 +00:00
2023-02-01 10:15:19 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2021-05-24 19:43:40 +02:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2024-01-05 15:11:47 +00:00
2022-12-19 12:52:08 +01:00
2024-02-05 14:07:09 +01:00
2023-04-29 08:44:59 -04:00
2022-12-19 12:52:08 +01:00
2022-12-02 09:42:34 -08:00
2022-12-02 09:42:34 -08:00
2012-06-08 23:15:12 +00:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2023-04-27 14:41:10 +01:00
2022-12-02 09:42:34 -08:00
2024-08-05 11:50:05 +02:00
2020-06-16 11:41:25 +08:00
2022-12-19 12:52:08 +01:00
2018-11-13 18:15:47 +00:00
2024-03-15 11:51:46 -07:00
2009-09-09 00:09:15 +00:00
2020-05-26 19:24:58 +07:00
2022-12-01 09:01:48 -08:00
2022-12-19 12:52:08 +01:00
2024-03-14 13:07:41 +08:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-01 09:01:48 -08:00
2022-12-19 12:52:08 +01:00
2021-11-15 15:37:09 -05:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2009-09-09 00:09:15 +00:00
2019-06-17 09:51:07 +00:00
2024-01-10 16:47:34 -08:00
2021-12-05 15:55:59 -05:00
2020-02-13 10:16:06 -08:00
2024-10-07 16:06:44 +01:00
2024-04-11 12:29:29 -07:00
2024-06-27 15:00:17 +08:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2023-12-11 09:26:01 +08:00
2015-04-16 23:24:18 +00:00
2022-12-19 12:52:08 +01:00
2009-09-09 00:09:15 +00:00
2022-12-19 12:52:08 +01:00
2023-11-07 09:34:16 +01:00
2024-06-04 08:31:03 +02:00
2021-04-11 23:17:01 -04:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2009-09-09 00:09:15 +00:00
2019-01-20 11:16:58 +00:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-01 09:01:48 -08:00