[PATCH] D147968: [RFC][TTI][BPF]: Undo specific transform-preventing passes and add TTI hooks

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 15:08:22 PDT 2023


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

- do not add TTI to InstCombinerImpl, use the existing one in InstCombiner
- add a code example to illustrate the problem in Summary


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147968

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/IR/IntrinsicsBPF.td
  llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  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/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.513759.patch
Type: text/x-patch
Size: 27353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230414/59ba3545/attachment.bin>


More information about the llvm-commits mailing list