[PATCH] D85570: [RFC] BPF: add AdjustOpt IR pass to generate verifier friendly codes

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 14:11:58 PDT 2020


yonghong-song updated this revision to Diff 290825.
yonghong-song edited the summary of this revision.
yonghong-song added a comment.

A few changes:

- AdjustOpt IR pass only called at EP_ModuleOptimizerEarly now
- remove the pass which deals with a condition is used in more than one branch insns. This will be added to BPFCheckAndAdjustIR later.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85570

Files:
  llvm/lib/Target/BPF/BPF.h
  llvm/lib/Target/BPF/BPFAdjustOpt.cpp
  llvm/lib/Target/BPF/BPFTargetMachine.cpp
  llvm/lib/Target/BPF/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85570.290825.patch
Type: text/x-patch
Size: 9186 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200909/356cc5ad/attachment.bin>


More information about the llvm-commits mailing list