aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorYevgeny Rouban <yrouban@azul.com>2021-03-25 21:32:55 +0700
committerYevgeny Rouban <yrouban@azul.com>2021-03-25 21:44:21 +0700
commitf7ef26ef0b29a7c864209b78abf4445407a154b1 (patch)
tree6abd87f6c3d2c3a49ccd2757287ae72c6f44fee9 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parent02d7ef3181dd6a043a8ad16d747353dd02cbb5ef (diff)
downloadllvm-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