[all-commits] [llvm/llvm-project] eaab71: [Analysis] reduce code for matching min/max; NFC
RotateRight via All-commits
all-commits at lists.llvm.org
Thu Dec 31 14:24:17 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: eaab71106b81031d272acfc6987e99e8b65cbe6c
https://github.com/llvm/llvm-project/commit/eaab71106b81031d272acfc6987e99e8b65cbe6c
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2020-12-31 (Thu, 31 Dec 2020)
Changed paths:
M llvm/include/llvm/Analysis/IVDescriptors.h
M llvm/lib/Analysis/IVDescriptors.cpp
Log Message:
-----------
[Analysis] reduce code for matching min/max; NFC
This might also make it easier to adapt if we want
to match min/max intrinsics rather than cmp+sel idioms.
The 'const' part is to potentially avoid confusion
in calling code. There's some surprising and possibly
wrong behavior related to matching min/max reductions
differently than other reductions.
More information about the All-commits
mailing list