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
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-08-31 10:15:45 +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
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
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
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
2022-12-19 12:52:08 +01: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-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
2024-08-05 11:50:05 +02:00
2022-12-19 12:52:08 +01:00
2024-03-15 11:51:46 -07:00
2022-12-19 12:52:08 +01: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-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2024-01-10 16:47:34 -08:00
2024-10-07 16:06:44 +01:00
2022-12-19 12:52:08 +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
2022-12-19 12:52:08 +01:00
2023-12-11 09:26:01 +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
2023-11-07 09:34:16 +01:00
2024-06-04 08:31:03 +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
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
2024-02-15 12:13:07 +05:30
2022-12-19 12:52:08 +01:00
2022-12-19 12:52:08 +01:00
2023-11-20 14:00:47 -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-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