[PATCH] D147968: [TTI][BPF]: Undo specific transform-preventing passes and add one TTI hook

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 23:17:44 PDT 2023


yonghong-song updated this revision to Diff 523276.
yonghong-song retitled this revision from "[TTI][BPF]: Undo specific transform-preventing passes and add TTI hooks" to "[TTI][BPF]: Undo specific transform-preventing passes and add one TTI hook".
yonghong-song edited the summary of this revision.
yonghong-song added a reviewer: davidxl.
yonghong-song added a comment.

- use one hook TTI->needsPreserveRangeInfoInVerification()  instead of three hooks
- remove unused checks in the tests


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/include/llvm/Transforms/Utils/LoopUtils.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/Scalar/LICM.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.523276.patch
Type: text/x-patch
Size: 34738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230518/466bcdff/attachment.bin>


More information about the llvm-commits mailing list