diff options
author | Thomas Lively <tlively@google.com> | 2020-05-19 12:54:15 -0700 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2020-05-19 12:54:15 -0700 |
commit | 8a43d41a407095c820a5c4909a6865a88e34f29c (patch) | |
tree | eeae2559b3948000c7b524259d5d6831d044ae74 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | 3181273be73ac798c3d5b9081dd53d87a31c91b3 (diff) | |
download | llvm-8a43d41a407095c820a5c4909a6865a88e34f29c.zip llvm-8a43d41a407095c820a5c4909a6865a88e34f29c.tar.gz llvm-8a43d41a407095c820a5c4909a6865a88e34f29c.tar.bz2 |
[WebAssembly] Fix bug in custom shuffle combine
Summary:
The code previously assumed the source of the bitcast in the combined
pattern was a vector type, but this is not always true. This patch
adds a check to avoid an assertion failure in that case.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80164
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions