[PATCH] D87428: BPF: avoid same condition evaluated in multiple branch instructions

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 15:49:33 PDT 2020


yonghong-song updated this revision to Diff 297067.
yonghong-song retitled this revision from "[RFC PATCH 3] BPF: avoid same condition evaluated in multiple branch instructions" to "BPF: avoid same condition evaluated in multiple branch instructions".
yonghong-song edited the summary of this revision.
yonghong-song added a comment.

- added tests, added llc option to disable optimization if needed.
- removed RFC tag.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87428

Files:
  llvm/lib/Target/BPF/BPFCheckAndAdjustIR.cpp
  llvm/test/CodeGen/BPF/eval-cond-once-1.ll
  llvm/test/CodeGen/BPF/eval-cond-once-2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87428.297067.patch
Type: text/x-patch
Size: 8219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201008/656c826d/attachment.bin>


More information about the llvm-commits mailing list