diff options
author | Thomas Lively <tlively@google.com> | 2019-06-04 21:08:20 +0000 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2019-06-04 21:08:20 +0000 |
commit | 3d9ca00e74e26f616de95353dd855b65ae5cf06f (patch) | |
tree | 643183fdc944e50438cd703b46cce27eb6d9baac /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6b432dca5d4aa6bea8a39e7858f8cfd19f2b87ed (diff) | |
download | llvm-3d9ca00e74e26f616de95353dd855b65ae5cf06f.zip llvm-3d9ca00e74e26f616de95353dd855b65ae5cf06f.tar.gz llvm-3d9ca00e74e26f616de95353dd855b65ae5cf06f.tar.bz2 |
[WebAssembly] Fix ISel crash on sext_inreg/extract type mismatch
Summary:
Adjusts the index and adds a bitcast around the vector operand of
EXTRACT_VECTOR_ELT so that its lane type matches the source type of
its parent sext_inreg. Without this bitcast the ISel patterns do not
match and ISel fails.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D62646
llvm-svn: 362547
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions