diff options
author | Yevgeny Rouban <yrouban@azul.com> | 2021-03-25 21:32:55 +0700 |
---|---|---|
committer | Yevgeny Rouban <yrouban@azul.com> | 2021-03-25 21:44:21 +0700 |
commit | f7ef26ef0b29a7c864209b78abf4445407a154b1 (patch) | |
tree | 6abd87f6c3d2c3a49ccd2757287ae72c6f44fee9 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | 02d7ef3181dd6a043a8ad16d747353dd02cbb5ef (diff) | |
download | llvm-f7ef26ef0b29a7c864209b78abf4445407a154b1.zip llvm-f7ef26ef0b29a7c864209b78abf4445407a154b1.tar.gz llvm-f7ef26ef0b29a7c864209b78abf4445407a154b1.tar.bz2 |
[SLP] Fix crash in reduction for integer min/max
The SCEV commit b46c085d2b6d1 [NFCI] SCEVExpander:
emit intrinsics for integral {u,s}{min,max} SCEV expressions
seems to reveal a new crash in SLPVectorizer.
SLP crashes expecting a SelectInst as an externally used value
but umin() call is found.
The patch relaxes the assumption to make the IR flag propagation safe.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D99328
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions