[PATCH] D143726: [LICM] Simplify (X < A && X < B) into (X < MIN(A, B)) if MIN(A, B) is loop-invariant

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 23:58:10 PST 2023


mkazantsev updated this revision to Diff 504039.
mkazantsev added a comment.

Removed some stray semicolons.


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

https://reviews.llvm.org/D143726

Files:
  llvm/lib/Transforms/Scalar/LICM.cpp
  llvm/test/CodeGen/AMDGPU/wave32.ll
  llvm/test/CodeGen/PowerPC/sms-cpy-1.ll
  llvm/test/Transforms/LICM/min_max.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143726.504039.patch
Type: text/x-patch
Size: 35673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230310/9d8dfae4/attachment.bin>


More information about the llvm-commits mailing list