[PATCH] D141568: [SCEV] Support SMin/Umin for GetMinTrailingZeros
Joshua Cao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 23:25:42 PST 2023
caojoshua created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
caojoshua requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
There is already support for Max counterparts. No reason why Min should
not be supported.
NFC: code in GetMinTrailingZeroes is copied for a couple node types.
Refactor them into a single code block.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141568
Files:
llvm/lib/Analysis/ScalarEvolution.cpp
llvm/test/Analysis/ScalarEvolution/trip-count-minmax.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141568.488487.patch
Type: text/x-patch
Size: 14312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230112/274e363c/attachment.bin>
More information about the llvm-commits
mailing list