diff options
author | Pu Lehui <pulehui@huawei.com> | 2023-08-24 09:49:55 +0000 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-08-24 09:13:08 -0700 |
commit | 469fb2c3c1bbaa092f541e3a8d3b3554042aa6a5 (patch) | |
tree | d5eb570a44e9525e6ca5706b927d3fcc145a1505 /scripts/generate_rust_analyzer.py | |
parent | 1b580c9bb63414903cfb414571e92e4fd36d6969 (diff) |
riscv, bpf: Fix missing exception handling and redundant zext for LDX_B/H/W
For LDX_B/H/W, when zext has been inserted by verifier, it'll return 1,
and no exception handling will continue. Also, when the offset is 12-bit
value, the redundant zext inserted by the verifier is not removed. Fix
both scenarios by moving down the removal of redundant zext.
Signed-off-by: Pu Lehui <pulehui@huawei.com>
Link: https://lore.kernel.org/r/20230824095001.3408573-2-pulehui@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions