Simon Pilgrim fd2eda4f64 [X86][AVX2] Fix v16i16 SHL lowering (PR27730)
The AVX2 v16i16 shift lowering works by unpacking to 2 x v8i32, performing the shift and then truncating the result.

The unpacking is used to place the values in the upper 16-bits so that we can correctly sign-extend for SRA shifts. Unfortunately we weren't ensuring that the lower 16-bits were zero to ensure that SHL correctly shifts in zero bits.

llvm-svn: 271796
2016-06-04 16:45:33 +00:00
..
2016-01-26 00:03:25 +00:00
2016-05-11 21:51:28 +00:00
2016-03-29 07:53:07 +00:00
2016-01-16 15:25:02 +00:00
2015-11-30 19:04:19 +00:00
2016-01-05 00:48:16 +00:00
2015-09-29 22:09:16 +00:00
2016-04-08 06:45:19 +00:00
2016-04-01 10:16:15 +00:00
2016-04-05 17:12:19 +00:00
2016-04-05 17:12:19 +00:00
2016-01-26 00:03:25 +00:00
2015-08-25 07:42:09 +00:00
2016-06-01 21:32:56 +00:00
2015-06-02 22:33:30 +00:00
2016-05-04 00:22:23 +00:00
2016-02-18 18:44:33 +00:00
2015-12-16 11:22:37 +00:00
2015-12-16 11:22:37 +00:00
2016-02-18 18:44:33 +00:00
2016-02-18 18:44:33 +00:00
2015-12-05 19:54:59 +00:00
2016-06-01 17:55:10 +00:00
2016-03-21 11:06:20 +00:00
2015-08-28 17:19:54 +00:00
2016-04-01 21:06:17 +00:00
2015-08-19 16:17:08 +00:00
2016-03-23 11:13:54 +00:00