[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
Fri Mar 10 02:37:10 PST 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6b03ce374e0d: [LICM] Simplify (X < A && X < B) into (X < MIN(A, B)) if MIN(A, B) is loop… (authored by mkazantsev).

Changed prior to commit:
  https://reviews.llvm.org/D143726?vs=504039&id=504070#toc

Repository:
  rG LLVM Github Monorepo

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.504070.patch
Type: text/x-patch
Size: 35429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230310/dcc411f5/attachment-0001.bin>


More information about the llvm-commits mailing list