aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-04-29 18:40:34 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-04-29 18:40:34 +0000
commitd2a074b1f463806a2c0e6a56b950a73635350fe7 (patch)
treed43d6d9933360a03eda503b86fdc0552a2581f15 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parent10c4f451a8c0d96a83e31b309142f9f18e9a582d (diff)
downloadllvm-d2a074b1f463806a2c0e6a56b950a73635350fe7.zip
llvm-d2a074b1f463806a2c0e6a56b950a73635350fe7.tar.gz
llvm-d2a074b1f463806a2c0e6a56b950a73635350fe7.tar.bz2
[ValueTracking] matchSelectPattern needs to be more careful around FP
matchSelectPattern attempts to see through casts which mask min/max patterns from being more obvious. Under certain circumstances, it would misidentify a sequence of instructions as a min/max because it assumed that folding casts would preserve the result. This is not the case for floating point <-> integer casts. This fixes PR27575. llvm-svn: 268086
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions