[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
Mon Feb 20 02:42:32 PST 2023
mkazantsev updated this revision to Diff 498773.
mkazantsev retitled this revision from "[LoopInstSimplify] Simplify (X < A && X < B) into (X < MIN(A, B)) if MIN(A, B) is loop-invariant" to "[LICM] Simplify (X < A && X < B) into (X < MIN(A, B)) if MIN(A, B) is loop-invariant".
mkazantsev edited the summary of this revision.
mkazantsev added a comment.
Moved to LICM.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143726/new/
https://reviews.llvm.org/D143726
Files:
llvm/lib/Transforms/Scalar/LICM.cpp
llvm/test/Transforms/LICM/min_max.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143726.498773.patch
Type: text/x-patch
Size: 23644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230220/452d4d3f/attachment.bin>
More information about the llvm-commits
mailing list