Thomas Lively
4e589e6c26
[WebAssembly] Fix SIMD shift unrolling to avoid assertion failure
...
Summary:
Using the default DAG.UnrollVectorOp on v16i8 and v8i16 vectors
results in i8 or i16 nodes being inserted into the SelectionDAG. Since
those are illegal types, this causes a legalization assertion failure
for some code patterns, as uncovered by PR45178. This change unrolls
shifts manually to avoid this issue by adding and using a new optional
EVT argument to DAG.ExtractVectorElements to control the type of the
extract_element nodes.
Reviewers: aheejin, dschuff
Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, zzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D76043
2020-03-12 12:20:14 -07:00
..
2019-07-09 01:21:04 +00:00
2019-07-09 02:10:33 +00:00
2019-06-05 20:01:01 +00:00
2019-08-28 23:13:43 +00:00
2020-02-18 15:55:20 -08:00
2019-02-28 18:39:08 +00:00
2019-02-28 18:39:08 +00:00
2019-02-13 22:11:16 +00:00
2019-09-18 23:18:16 +00:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2019-03-30 09:29:57 +00:00
2019-03-29 19:36:51 +00:00
2020-02-18 15:55:20 -08:00
2019-04-23 21:30:30 +00:00
2020-02-13 10:16:06 -08:00
2019-10-15 01:11:51 +00:00
2020-02-13 10:16:06 -08:00
2019-01-18 02:47:48 +00:00
2020-01-28 16:58:15 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2019-10-09 21:42:08 +00:00
2019-12-11 11:54:57 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2019-02-23 00:07:39 +00:00
2020-02-18 15:55:20 -08:00
2019-02-23 00:07:39 +00:00
2020-02-18 15:55:20 -08:00
2019-10-09 21:42:08 +00:00
2019-03-01 00:12:13 +00:00
2020-02-18 15:55:20 -08:00
2019-02-23 00:07:39 +00:00
2019-03-05 20:35:34 +00:00
2019-02-01 22:27:34 +00:00
2019-12-24 16:27:51 -08:00
2019-07-03 23:54:06 +00:00
2019-04-26 18:45:04 +00:00
2019-03-19 05:10:39 +00:00
2019-03-30 01:31:11 +00:00
2019-03-30 01:31:11 +00:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2019-06-05 20:01:01 +00:00
2020-02-18 15:55:20 -08:00
2020-01-23 18:13:52 -08:00
2019-08-05 21:36:09 +00:00
2019-08-05 21:36:09 +00:00
2019-09-03 22:26:49 +00:00
2019-08-26 21:41:17 +00:00
2020-02-07 19:08:39 -08:00
2020-02-18 15:55:20 -08:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2019-01-29 10:53:42 +00:00
2019-01-29 10:53:42 +00:00
2020-02-18 15:55:20 -08:00
2019-02-23 00:07:39 +00:00
2020-01-17 17:23:56 -08:00
2020-02-18 14:56:09 -08:00
2020-02-18 14:56:09 -08:00
2020-02-18 15:55:20 -08:00
2019-03-29 22:00:18 +00:00
2019-12-24 16:27:51 -08:00
2020-02-13 10:16:06 -08:00
2019-04-23 21:17:03 +00:00
2019-01-31 00:35:37 +00:00
2019-03-21 11:18:54 +00:00
2019-05-13 19:40:18 +00:00
2020-01-24 14:26:27 -08:00
2019-10-09 21:42:08 +00:00
2019-10-09 21:42:08 +00:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2019-05-23 01:24:01 +00:00
2020-02-18 15:55:20 -08:00
2019-11-15 16:22:01 -08:00
2020-02-18 15:55:20 -08:00
2019-02-23 00:07:39 +00:00
2020-02-25 13:54:48 -08:00
2020-02-04 18:36:32 -08:00
2020-02-04 18:36:32 -08:00
2019-10-09 17:39:19 +00:00
2020-02-04 18:36:32 -08:00
2020-02-04 18:36:32 -08:00
2019-05-23 18:09:26 +00:00
2019-12-18 15:31:38 -08:00
2019-10-31 20:02:24 -07:00
2020-02-04 18:36:32 -08:00
2019-06-19 00:02:13 +00:00
2020-02-04 18:36:32 -08:00
2019-02-23 18:59:01 +00:00
2020-02-25 13:54:48 -08:00
2020-03-12 12:20:14 -07:00
2020-02-18 15:55:20 -08:00
2020-02-25 13:54:48 -08:00
2019-02-23 00:07:39 +00:00
2020-02-18 13:21:26 +00:00
2019-04-23 21:17:03 +00:00
2020-02-18 15:55:20 -08:00
2019-07-16 22:00:45 +00:00
2020-01-24 14:27:35 -08:00
2020-02-13 10:16:06 -08:00
2019-07-16 22:22:08 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2019-02-23 00:07:39 +00:00
2019-02-26 05:20:19 +00:00
2019-02-28 18:39:08 +00:00
2019-03-19 05:02:30 +00:00