Kevin Qin
f14f22cebf
[AArch64 NEON] Fix invalid constant used in vselect condition.
...
There is a wrong assumption that the vector element type and the
type of each ConstantSDNode in the build_vector were the same.
However, when promoting the integer operand of a legally typed
build_vector, the operand type and the vector element type do not
need to be the same
(See method 'DAGTypeLegalizer::PromoteIntOp_BUILD_VECTOR' in
LegalizeIntegerTypes.cpp).
in AArch64 backend, the following dag sequence:
C0: i1 = Constant<0>
C1: i1 = Constant<-1>
V: v8i1 = BUILD_VECTOR C1, C1, C0, C0, C0, C0, C0, C0
is type-legalized into:
NewC0: i32 = Constant<0>
NewC1: i32 = Constant<1>
V: v8i8 = BUILD_VECTOR NewC1, NewC1, NewC0, NewC0, NewC0, NewC0, NewC0, NewC0
Forcing a getZeroExtend to VTBits to ensure that the new constant
is correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198582 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-06 02:26:10 +00:00
..
2013-12-10 06:48:35 +00:00
2013-07-13 20:38:47 +00:00
2013-07-14 06:24:09 +00:00
2013-07-13 20:38:47 +00:00
2013-07-14 06:24:09 +00:00
2013-10-31 09:32:11 +00:00
2013-07-13 20:38:47 +00:00
2013-12-12 00:15:47 +00:00
2013-07-14 06:24:09 +00:00
2013-07-13 20:38:47 +00:00
2013-10-28 20:40:20 +00:00
2013-07-13 20:38:47 +00:00
2013-07-14 06:24:09 +00:00
2013-07-13 20:38:47 +00:00
2013-07-13 20:38:47 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-01 09:20:35 +00:00
2013-10-31 09:32:11 +00:00
2013-10-31 09:32:11 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-13 20:38:47 +00:00
2013-07-13 20:38:47 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-13 20:38:47 +00:00
2013-07-13 20:38:47 +00:00
2013-10-09 07:53:57 +00:00
2013-07-13 20:38:47 +00:00
2013-07-14 06:24:09 +00:00
2013-07-13 20:38:47 +00:00
2013-07-13 20:38:47 +00:00
2013-10-09 07:53:57 +00:00
2013-07-13 20:38:47 +00:00
2013-12-24 00:47:29 +00:00
2013-10-09 07:53:57 +00:00
2013-10-29 17:01:29 +00:00
2013-10-31 09:32:11 +00:00
2013-10-31 09:32:11 +00:00
2013-07-13 20:38:47 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-12 14:54:12 +00:00
2013-07-13 20:38:47 +00:00
2013-07-13 20:38:47 +00:00
2013-07-13 20:38:47 +00:00
2013-07-13 20:38:47 +00:00
2013-07-13 20:38:47 +00:00
2013-08-01 09:20:35 +00:00
2013-11-04 23:04:07 +00:00
2013-10-28 20:59:41 +00:00
2013-07-25 16:23:55 +00:00
2013-07-13 20:38:47 +00:00
2013-10-31 09:32:11 +00:00
2013-10-31 09:32:11 +00:00
2013-10-31 09:32:11 +00:00
2013-08-16 00:37:11 +00:00
2013-10-31 09:32:11 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-13 20:38:47 +00:00
2013-07-13 20:38:47 +00:00
2013-07-01 19:23:10 +00:00
2013-12-03 01:29:32 +00:00
2013-12-25 07:12:34 +00:00
2013-12-10 06:48:35 +00:00
2013-12-09 19:29:14 +00:00
2013-12-11 23:21:25 +00:00
2013-12-09 03:51:42 +00:00
2013-12-12 02:19:13 +00:00
2013-12-12 15:46:29 +00:00
2014-01-06 02:26:10 +00:00
2013-11-29 01:38:08 +00:00
2013-11-14 02:44:13 +00:00
2013-12-24 08:16:06 +00:00
2013-11-19 01:38:31 +00:00
2013-11-29 02:11:22 +00:00
2013-11-06 02:25:49 +00:00
2013-08-01 09:20:35 +00:00
2013-12-24 00:47:29 +00:00
2013-08-01 09:20:35 +00:00
2013-08-01 09:20:35 +00:00
2013-12-09 03:51:42 +00:00
2013-08-01 09:20:35 +00:00
2013-12-03 01:33:52 +00:00
2013-12-10 16:11:39 +00:00
2013-12-12 02:19:13 +00:00
2013-12-18 06:26:04 +00:00
2013-12-30 01:38:41 +00:00
2013-11-26 03:26:47 +00:00
2013-08-01 09:20:35 +00:00
2013-09-24 02:47:27 +00:00
2013-09-24 02:47:27 +00:00
2013-09-24 02:47:27 +00:00
2013-09-24 02:47:27 +00:00
2013-10-16 21:04:34 +00:00
2013-12-12 02:19:13 +00:00
2013-12-12 02:19:13 +00:00
2013-12-12 02:19:13 +00:00
2013-12-23 02:42:10 +00:00
2013-12-30 02:44:35 +00:00
2013-12-10 21:33:56 +00:00
2013-10-18 14:03:24 +00:00
2013-12-10 21:33:59 +00:00
2013-12-10 16:11:39 +00:00
2013-12-23 02:42:10 +00:00
2013-11-21 07:37:04 +00:00
2013-10-16 21:04:39 +00:00
2013-12-11 21:03:43 +00:00
2013-12-09 22:47:38 +00:00
2013-12-12 02:19:13 +00:00
2013-12-12 02:19:13 +00:00
2013-12-12 02:19:13 +00:00
2013-12-12 02:19:13 +00:00
2013-11-29 02:11:22 +00:00
2013-12-25 01:22:51 +00:00
2013-12-30 02:05:13 +00:00
2013-09-24 02:47:27 +00:00
2013-12-30 02:12:46 +00:00
2013-11-22 08:47:22 +00:00
2013-12-25 01:22:51 +00:00
2013-12-05 02:12:01 +00:00
2013-11-18 06:31:53 +00:00
2013-11-19 02:17:05 +00:00
2013-12-03 06:06:55 +00:00
2013-11-14 01:57:32 +00:00
2013-11-22 02:45:13 +00:00
2013-12-09 03:34:08 +00:00
2013-12-30 02:38:12 +00:00
2013-07-13 20:38:47 +00:00
2013-07-13 20:38:47 +00:00
2013-10-24 08:28:24 +00:00
2013-07-14 06:24:09 +00:00
2013-07-13 20:38:47 +00:00
2013-07-13 20:38:47 +00:00
2013-10-29 17:01:29 +00:00
2013-07-13 20:38:47 +00:00
2013-07-14 06:24:09 +00:00
2013-07-13 20:38:47 +00:00
2013-07-14 06:24:09 +00:00
2013-07-13 20:38:47 +00:00
2013-10-09 07:53:57 +00:00
2013-07-25 16:23:55 +00:00
2013-07-13 20:38:47 +00:00
2013-10-31 09:32:11 +00:00
2013-07-13 20:38:47 +00:00