aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-02-26 16:48:58 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-03-06 21:52:46 +0300
commitb46c085d2b6d15873fb53718f0a70b3848e19e4a (patch)
tree59738a0d0244c509d4f2fa921a9b5c7b115ec3a3 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parentf0904a62085aa84737e7e6f2a2318cda0d52c371 (diff)
downloadllvm-b46c085d2b6d15873fb53718f0a70b3848e19e4a.zip
llvm-b46c085d2b6d15873fb53718f0a70b3848e19e4a.tar.gz
llvm-b46c085d2b6d15873fb53718f0a70b3848e19e4a.tar.bz2
[NFCI] SCEVExpander: emit intrinsics for integral {u,s}{min,max} SCEV expressions
These intrinsics, not the icmp+select are the canonical form nowadays, so we might as well directly emit them. This should not cause any regressions, but if it does, then then they would needed to be fixed regardless. Note that this doesn't deal with `SCEVExpander::isHighCostExpansion()`, but that is a pessimization, not a correctness issue. Additionally, the non-intrinsic form has issues with undef, see https://reviews.llvm.org/D88287#2587863
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions