yonghong-song
8aae191cb6
[BPF] Remove 'may_goto 0' instructions ( #123482 )
...
Emil Tsalapatis from Meta reported such a case where 'may_goto 0' insn
is generated by clang compiler. But 'may_goto 0' insn is actually a
no-op so it makes sense to remove that in llvm. The patch is also able
to handle the following code pattern
```
...
may_goto 2
may_goto 1
may_goto 0
...
```
where three may_goto insns can all be removed.
---------
Co-authored-by: Yonghong Song <yonghong.song@linux.dev>
2025-01-28 15:19:05 -08:00
..
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-11-20 19:15:23 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2025-01-28 15:19:05 -08:00
2025-01-28 15:19:05 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-10-18 09:35:42 +04:00
2024-12-15 11:04:24 -08:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-09-03 07:15:18 -07:00
2024-09-03 07:15:18 -07:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-09-03 07:15:18 -07:00
2024-10-01 14:20:54 -07:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-10-01 14:20:54 -07:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00