[WebAssembly] More codegen for f64x2.convert_low_i32x4_{s,u}
authorThomas Lively <tlively@google.com>
Tue, 20 Apr 2021 19:37:13 +0000 (12:37 -0700)
committerThomas Lively <tlively@google.com>
Tue, 20 Apr 2021 19:37:13 +0000 (12:37 -0700)
commit693d767c60933c41abb8663e8b347c2d91240645
treed1105557041c70261bde138d7c9df6beeca5e5df
parentae8b2cab67408a043a4fe964d16e4803553c4ee0
[WebAssembly] More codegen for f64x2.convert_low_i32x4_{s,u}

af7925b4dd65 added a custom DAG combine for recognizing fp-to-ints of
extract_subvectors that could be lowered to f64x2.convert_low_i32x4_{s,u}
instructions. This commit extends the combines to recognize equivalent
extract_subvectors of fp-to-ints as well.

Differential Revision: https://reviews.llvm.org/D100790
llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
llvm/test/CodeGen/WebAssembly/simd-conversions.ll