aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectSource.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-05-05 08:12:41 -0700
committerThomas Lively <tlively@google.com>2023-05-05 08:12:41 -0700
commit72a72315b052180a7df90a26000fdca4ef09dd94 (patch)
treee4ccff3ffb22578b488dc48741ea6b745f6fe7b2 /lldb/source/Commands/CommandObjectSource.cpp
parentaea866c12cb428eb5fe062ffa910a63daff62b01 (diff)
downloadllvm-72a72315b052180a7df90a26000fdca4ef09dd94.zip
llvm-72a72315b052180a7df90a26000fdca4ef09dd94.tar.gz
llvm-72a72315b052180a7df90a26000fdca4ef09dd94.tar.bz2
[WebAssembly] Mark @llvm.wasm.shuffle lane indices as immediates
This intrinsic is meant to lower directly to the i8x16.shuffle instruction, which takes its lane index arguments as immmediates. The ISel for the intrinsic assumed that the lane index arguments were constants, so bitcode that "incorrectly" used this intrinsic with non-immediate arguments caused an assertion failure in the backend. Avoid the crash by defining the lane index arguments to be immediates, matching the underlying instruction. Update ISel accordingly. This change means that the bitcode that previously caused a crash will now fail to validate. Fixes #55559. Reviewed By: dschuff Differential Revision: https://reviews.llvm.org/D149898
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
0 files changed, 0 insertions, 0 deletions