[PATCH] D72787: [BPF] Adjust optimizations to generate kernel verifier friendly codes

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 16:36:45 PST 2020


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

Added a machineinstr SSA target phase to add left/aright shift operations if the 32bit subregister is used for sle/slt/sge/sgt operations.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72787

Files:
  llvm/lib/Target/BPF/BPF.h
  llvm/lib/Target/BPF/BPFAdjustOpt.cpp
  llvm/lib/Target/BPF/BPFMIAdjustOpt.cpp
  llvm/lib/Target/BPF/BPFMIPeephole.cpp
  llvm/lib/Target/BPF/BPFTargetMachine.cpp
  llvm/lib/Target/BPF/CMakeLists.txt
  llvm/test/CodeGen/BPF/adjust-instcombine-1.ll
  llvm/test/CodeGen/BPF/adjust-instcombine-2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72787.238927.patch
Type: text/x-patch
Size: 18347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200118/34b06729/attachment.bin>


More information about the llvm-commits mailing list