diff options
| author | Keno Fischer <keno@alumni.harvard.edu> | 2019-05-01 15:58:24 +0000 |
|---|---|---|
| committer | Keno Fischer <keno@alumni.harvard.edu> | 2019-05-01 15:58:24 +0000 |
| commit | a3e4b3bd33200fdb91fb4b137d7585ea3c957df9 (patch) | |
| tree | 39154f6a871b2877c6216c5de4da243ae794c8dc /llvm/lib/Object/ModuleSymbolTable.cpp | |
| parent | 0b4699b931716065a7c0d631a6a11cc5afec587c (diff) | |
| download | llvm-a3e4b3bd33200fdb91fb4b137d7585ea3c957df9.zip llvm-a3e4b3bd33200fdb91fb4b137d7585ea3c957df9.tar.gz llvm-a3e4b3bd33200fdb91fb4b137d7585ea3c957df9.tar.bz2 | |
[SCEV] Use isKnownViaNonRecursiveReasoning for smax simplification
Summary:
Commit
rL331949: SCEV] Do not use induction in isKnownPredicate for simplification umax
changed the codepath for umax from isKnownPredicate to
isKnownViaNonRecursiveReasoning to avoid compile time blow up (and as
I found out also stack overflows). However, there is an exact copy of
the code for umax that was lacking this change. In D50167 I want to unify
these codepaths, but to avoid that being a behavior change for the smax
case, pull this independent bit out of it.
Reviewed By: sanjoy
Differential Revision: https://reviews.llvm.org/D61166
llvm-svn: 359693
Diffstat (limited to 'llvm/lib/Object/ModuleSymbolTable.cpp')
0 files changed, 0 insertions, 0 deletions
