[all-commits] [llvm/llvm-project] fb6602: [WebAssembly] Explicitly add {z, s}ext so extends a...
Luke Lau via All-commits
all-commits at lists.llvm.org
Fri Jan 6 04:30:37 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fb6602616caa6d917543cdf0a429c9e2063a4a78
https://github.com/llvm/llvm-project/commit/fb6602616caa6d917543cdf0a429c9e2063a4a78
Author: Luke Lau <luke at igalia.com>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
M llvm/test/CodeGen/WebAssembly/simd-extending-convert.ll
Log Message:
-----------
[WebAssembly] Explicitly add {z,s}ext so extends are selected
During DAG legalization, {u,s}itofp instructions on v2i8, v2i16, v4i8
and v4i16 types ended up being legalized into scalar instructions, when
they could just be extended to v2i32/v4i32 instead.
Fixes https://github.com/llvm/llvm-project/issues/57182
Differential Revision: https://reviews.llvm.org/D140916
More information about the All-commits
mailing list