aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2021-07-21 16:11:00 -0700
committerThomas Lively <tlively@google.com>2021-07-21 16:11:00 -0700
commitdb7efcab7dd9c969179a86fb27149743a0f1f491 (patch)
tree55c69b91027dc8683384ccc9378dc6ca3bfa411c /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
parente7fe4433f822fc224b14c9988268f71aeb4d37f9 (diff)
downloadllvm-db7efcab7dd9c969179a86fb27149743a0f1f491.zip
llvm-db7efcab7dd9c969179a86fb27149743a0f1f491.tar.gz
llvm-db7efcab7dd9c969179a86fb27149743a0f1f491.tar.bz2
[WebAssembly] Remove clang builtins for extract_lane and replace_lane
These builtins were added to capture the fact that the underlying Wasm instructions return i32s and implicitly sign or zero extend the extracted lanes in the case of the i8x16 and i16x8 variants. But we do sufficient optimizations during code gen that these low-level details do not need to be exposed to users. This commit replaces the use of the builtins in wasm_simd128.h with normal target-independent vector code. As a result, we can switch the relevant intrinsics to use functions rather than macros and can use more user-friendly return types rather than trying to precisely expose the underlying Wasm types. Note, however, that the generated LLVM IR is no different after this change. Differential Revision: https://reviews.llvm.org/D106500
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions