diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-03-12 19:47:08 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-03-12 20:02:05 +0000 |
commit | 2a2d24201750117fca9db7aceff862ac6e16f2cf (patch) | |
tree | 441ed40aa6b32ab6eeedcc32f1ee08cdf4f54ec1 /llvm/lib/Analysis/CodeMetrics.cpp | |
parent | 6174fddbe3d40972d97f63d9bf6bb1c4236de0e3 (diff) | |
download | llvm-2a2d24201750117fca9db7aceff862ac6e16f2cf.zip llvm-2a2d24201750117fca9db7aceff862ac6e16f2cf.tar.gz llvm-2a2d24201750117fca9db7aceff862ac6e16f2cf.tar.bz2 |
[DAGCombine] foldVSelectOfConstants - ensure constants are same type
Fix bug identified by https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21167, foldVSelectOfConstants must ensure that the 2 build vectors have scalars of the same type before trying to compare APInt values.
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions