[PATCH] D70511: [BPF] Fix a bug in peephole optimization

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 15:11:24 PST 2019


yonghong-song added a comment.

@tstellar
About the impact of this bug:

- to trigger the bug, the additional additional -mattr=+alu32 is needed.
- with this bug, the program is most likely to be rejected by kernel verifier (based on what we know), so people likely just not using -mattr=+alu32 to make kernel verifier happy

That said, it would be still good to backport the change to 9.0.x if possible.

I just tried to cherry-pick to llvm monorepo release/9.x branch. There is a minor cherry-pick conflict as the
same file has been modified in 10.0.0. Let me know if you want me to do the work to prepare the patch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70511/new/

https://reviews.llvm.org/D70511





More information about the llvm-commits mailing list