[PATCH] D147968: [RFC] BPF: Undo specific transform-preventing passes and add opt flags

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 12 10:29:04 PDT 2023


yonghong-song updated this revision to Diff 512893.
yonghong-song added a comment.

The previous patch caused several bpf selftest failures. Remove two flags and changed a few tests so bpf selftests can pass.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147968

Files:
  llvm/include/llvm/IR/IntrinsicsBPF.td
  llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
  llvm/include/llvm/Transforms/Utils/Local.h
  llvm/lib/Target/BPF/BPF.h
  llvm/lib/Target/BPF/BPFAdjustOpt.cpp
  llvm/lib/Target/BPF/BPFCheckAndAdjustIR.cpp
  llvm/lib/Target/BPF/BPFTargetMachine.cpp
  llvm/lib/Target/BPF/BPFTargetTransformInfo.h
  llvm/lib/Target/BPF/CMakeLists.txt
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/CodeGen/BPF/adjust-opt-icmp1.ll
  llvm/test/CodeGen/BPF/adjust-opt-icmp2.ll
  llvm/test/CodeGen/BPF/adjust-opt-icmp3.ll
  llvm/test/CodeGen/BPF/adjust-opt-icmp4.ll
  llvm/test/CodeGen/BPF/adjust-opt-speculative1.ll
  llvm/test/CodeGen/BPF/adjust-opt-speculative2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147968.512893.patch
Type: text/x-patch
Size: 27325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230412/b0ded2e4/attachment.bin>


More information about the llvm-commits mailing list