diff options
author | Thomas Lively <tlively@google.com> | 2021-08-24 17:24:03 -0700 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2021-08-24 17:24:03 -0700 |
commit | ca541aa319cd927c117235053712a808886828f0 (patch) | |
tree | 423471d45c91e25bdb228a6d1e8ba79f4e2efef3 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | 2d743af4e98211cc232902c8691ec988cf838d9e (diff) | |
download | llvm-ca541aa319cd927c117235053712a808886828f0.zip llvm-ca541aa319cd927c117235053712a808886828f0.tar.gz llvm-ca541aa319cd927c117235053712a808886828f0.tar.bz2 |
[WebAssembly] Fix up out-of-range BUILD_VECTOR lane constants
Fixes PR51605 in which a DAG combine and legalization sequence generated
out-of-range constants in BUILD_VECTOR lanes. In the v16i8 case, the constants
were 255, which would be in range if DAG ISel used unsigned constants, but it is
out of range because DAG ISel uses signed constants.
Differential Revision: https://reviews.llvm.org/D108669
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions