[PATCH] D72787: [BPF] Adjust optimizations to generate kernel verifier friendly codes
    Yonghong Song via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Jun 14 23:58:17 PDT 2020
    
    
  
yonghong-song updated this revision to Diff 270665.
yonghong-song edited the summary of this revision.
yonghong-song added a comment.
removed MachineInstr AdjustOpt transformation since latest linux 32bit handling has been improved. No need to llvm to generate additional shifts. Also handled two more cases in IR AdjustOpt for
  V - Lo u<= Hi - Lo --> V >= Lo && V <= Hi
  V - Lo u> Hi - Lo --> V <  Lo || V > Hi
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/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.270665.patch
Type: text/x-patch
Size: 13505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200615/37e7cfcf/attachment.bin>
    
    
More information about the llvm-commits
mailing list