PR target/65489
* config/arm/arm.c (arm_legitimate_constant_p_1): Remove restriction
on constants for NEON VSTRUCT modes.
From-SVN: r221892
+2015-04-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ PR target/65489
+ * config/arm/arm.c (arm_legitimate_constant_p_1): Remove restriction
+ on constants for NEON VSTRUCT modes.
+
2015-04-07 Jakub Jelinek <jakub@redhat.com>
Iain Sandoe <iain@codesourcery.com>
When generating pic allow anything. */
static bool
-arm_legitimate_constant_p_1 (machine_mode mode, rtx x)
+arm_legitimate_constant_p_1 (machine_mode, rtx x)
{
- /* At present, we have no support for Neon structure constants, so forbid
- them here. It might be possible to handle simple cases like 0 and -1
- in future. */
- if (TARGET_NEON && VALID_NEON_STRUCT_MODE (mode))
- return false;
-
return flag_pic || !label_mentioned_p (x);
}