aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2021-08-24 17:24:03 -0700
committerThomas Lively <tlively@google.com>2021-08-24 17:24:03 -0700
commitca541aa319cd927c117235053712a808886828f0 (patch)
tree423471d45c91e25bdb228a6d1e8ba79f4e2efef3 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parent2d743af4e98211cc232902c8691ec988cf838d9e (diff)
downloadllvm-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