Andrea Di Biagio
cfb83b7bac
[x86] Fix assertion failure caused by a wrong combine of PSHUFD nodes with different types.
...
When combining a sequence of two PSHUFD dag nodes into a single PSHUFD,
make sure that we assign the correct type to the resulting PSHUFD.
X86ISD::PSHUFD dag nodes can be either MVT::v4i32 or MVT::v4f32.
Before this change, an assertion failure was triggered in method
'DAGCombinerInfo::CombineTo' when trying to combine the shuffles from the test
below into a single PSHUFD.
define <4 x float> @test1(<4 x float> %V) {
%1 = shufflevector <4 x float> %V, <4 x float> undef, <4 x i32> <i32 3, i32 0, i32 2, i32 1>
%2 = shufflevector <4 x float> %1, <4 x float> undef, <4 x i32> <i32 3, i32 0, i32 2, i32 1>
ret <4 x float> %2
}
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212498 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-07 23:25:23 +00:00
..
2014-06-09 22:42:55 +00:00
2014-06-25 12:41:52 +00:00
2014-05-28 18:15:43 +00:00
2014-06-25 12:41:52 +00:00
2014-07-01 18:53:31 +00:00
2014-07-03 22:24:54 +00:00
2014-06-13 14:24:07 +00:00
2014-06-13 22:18:23 +00:00
2014-06-24 20:10:27 +00:00
2014-06-09 14:20:23 +00:00
2014-06-09 12:32:53 +00:00
2014-06-03 02:41:57 +00:00
2014-06-03 21:01:39 +00:00
2014-07-01 18:53:31 +00:00
2014-07-01 18:53:31 +00:00
2014-07-01 18:53:31 +00:00
2014-07-01 18:53:31 +00:00
2014-07-01 18:53:31 +00:00
2014-07-01 18:53:31 +00:00
2014-07-01 18:53:31 +00:00
2014-07-01 18:53:31 +00:00
2014-07-01 18:53:31 +00:00
2014-07-01 21:44:59 +00:00
2014-07-01 18:53:31 +00:00
2014-05-20 19:25:04 +00:00
2014-05-27 03:42:20 +00:00
2014-05-31 00:52:23 +00:00
2014-06-18 14:04:37 +00:00
2014-07-02 14:11:05 +00:00
2014-07-02 21:26:01 +00:00
2014-06-18 16:51:10 +00:00
2014-07-02 21:25:54 +00:00
2014-06-25 17:41:58 +00:00
2014-06-25 12:41:52 +00:00
2014-05-29 23:35:36 +00:00
2014-06-25 17:41:58 +00:00
2014-06-25 17:41:58 +00:00
2014-06-25 17:41:58 +00:00
2014-05-21 22:00:39 +00:00
2014-07-03 07:04:38 +00:00
2014-06-06 21:08:55 +00:00
2014-06-13 17:29:39 +00:00
2014-06-13 17:29:39 +00:00
2014-06-13 14:24:07 +00:00
2014-06-27 18:19:56 +00:00
2014-06-27 18:19:56 +00:00
2014-06-27 18:19:56 +00:00
2014-05-30 23:17:53 +00:00
2014-06-25 17:41:58 +00:00
2014-05-30 15:00:45 +00:00
2014-07-03 21:51:06 +00:00
2014-06-12 16:04:47 +00:00
2014-07-03 22:24:54 +00:00
2014-06-03 02:41:57 +00:00
2014-05-26 04:08:51 +00:00
2014-06-27 18:19:56 +00:00
2014-06-27 18:19:56 +00:00
2014-06-13 12:05:06 +00:00
2014-06-12 20:12:34 +00:00
2014-06-13 00:45:11 +00:00
2014-06-16 23:58:24 +00:00
2014-06-17 21:55:43 +00:00
2014-06-17 21:55:43 +00:00
2014-06-12 23:27:57 +00:00
2014-06-23 21:55:36 +00:00
2014-06-23 21:55:36 +00:00
2014-06-25 20:06:12 +00:00
2014-06-23 21:55:44 +00:00
2014-06-23 21:55:40 +00:00
2014-06-23 21:55:36 +00:00
2014-06-13 02:21:58 +00:00
2014-07-03 15:06:47 +00:00
2014-06-12 03:29:29 +00:00
2014-06-25 12:41:52 +00:00
2014-05-20 21:25:34 +00:00
2014-06-12 10:53:48 +00:00
2014-06-19 10:29:41 +00:00
2014-06-02 16:00:27 +00:00
2014-06-05 19:29:43 +00:00
2014-06-05 19:29:43 +00:00
2014-06-05 19:29:43 +00:00
2014-06-18 11:52:44 +00:00
2014-06-09 22:42:55 +00:00
2014-07-03 07:25:00 +00:00
2014-06-27 18:19:56 +00:00
2014-05-20 19:25:04 +00:00
2014-06-25 05:31:22 +00:00
2014-07-01 18:53:31 +00:00
2014-07-03 15:19:40 +00:00
2014-06-25 03:05:47 +00:00
2014-07-07 23:25:23 +00:00
2014-06-30 17:14:21 +00:00
2014-05-22 16:21:39 +00:00
2014-05-22 13:03:43 +00:00
2014-06-11 23:11:02 +00:00
2014-06-25 13:12:54 +00:00
2014-06-25 10:02:21 +00:00
2014-06-26 10:45:21 +00:00
2014-05-31 00:52:23 +00:00
2014-06-22 17:21:37 +00:00
2014-06-12 03:29:26 +00:00
2014-06-26 23:39:52 +00:00
2014-05-29 01:42:45 +00:00
2014-06-21 12:56:42 +00:00
2014-07-07 19:03:32 +00:00
2014-06-27 11:23:44 +00:00
2014-06-27 20:07:40 +00:00
2014-06-27 11:40:13 +00:00
2014-07-07 09:06:58 +00:00
2014-07-02 15:09:44 +00:00
2014-05-30 23:03:11 +00:00
2014-07-07 19:03:32 +00:00
2014-06-25 12:41:52 +00:00
2014-06-07 21:23:09 +00:00
2014-06-17 23:22:41 +00:00
2014-05-29 23:52:53 +00:00
2014-07-07 21:52:21 +00:00