[WebAssembly] Expand unavailable integer operations for vectors
authorThomas Lively <tlively@google.com>
Thu, 29 Nov 2018 22:01:01 +0000 (22:01 +0000)
committerThomas Lively <tlively@google.com>
Thu, 29 Nov 2018 22:01:01 +0000 (22:01 +0000)
commit66ea30c7bc926806dcfedd54ac9a17f7baeccbeb
treedf08697e6e314c4c37d65065012853e6f7415e7b
parentccf7d4b4aa713e95a65a6d4e7c7dd2b276c7206d
[WebAssembly] Expand unavailable integer operations for vectors

Summary:
Expands for vector types all of the integer operations that are
expanded for scalars because they are not supported at all by
WebAssembly.

This CL has no tests because such tests would really be testing the
target-independent expansion, but I'm happy to add tests if reviewers
think it would be helpful.

Reviewers: aheejin, dschuff

Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D55010

llvm-svn: 347923
llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp