[PATCH] D147078: [LICM][BPF] Disable hoistMinMax() optimization for BPF target

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 15:55:33 PDT 2023


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

- separately checking EnableMinMaxHoisting and update the test with -print-before=licm and -print-after=licm to clearly show the expected ir


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147078

Files:
  llvm/include/llvm/Transforms/Scalar/LICM.h
  llvm/lib/Target/BPF/BPFTargetTransformInfo.h
  llvm/lib/Target/BPF/CMakeLists.txt
  llvm/lib/Transforms/Scalar/LICM.cpp
  llvm/test/CodeGen/BPF/licm-minmax-hoisted.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147078.510955.patch
Type: text/x-patch
Size: 6683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230404/e30a850b/attachment.bin>


More information about the llvm-commits mailing list