diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-01-22 22:45:21 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-01-23 17:35:32 -0800 |
commit | a1b14abc009d9c13be355dbd4a4c4d47816ad3db (patch) | |
tree | 755c19bcbbdbc875252133b72d706f23ffbb06b6 /lib/test_parman.c | |
parent | 52875a04f4b26e7ef30a288ea096f7cfec0e93cd (diff) | |
download | linux-a1b14abc009d9c13be355dbd4a4c4d47816ad3db.tar.bz2 |
bpf: verifier: remove unconditional branches by 0
Unconditional branches by 0 instructions are basically noops
but they can result from earlier optimizations, e.g. a conditional
jumps which would never be taken or a conditional jump around
dead code.
Remove those branches.
v0.2:
- s/opt_remove_dead_branches/opt_remove_nops/ (Jiong).
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Jiong Wang <jiong.wang@netronome.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib/test_parman.c')
0 files changed, 0 insertions, 0 deletions