Skip to content

Commit 53085a4

Browse files
author
Robin Dapp
committed
arm: Fix support_vector_misalignment.
In gcc-16-4314-g5e9eecc6686 I meant to remove all uses of TYPE in support_vector_misalignment but apparently forgot this one. Fixing by using the inner mode's size. gcc/ChangeLog: * config/arm/arm.cc (arm_builtin_support_vector_misalignment): Remove use of type.
1 parent d2ad7e9 commit 53085a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/config/arm/arm.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30667,7 +30667,7 @@ arm_builtin_support_vector_misalignment (machine_mode mode,
3066730667
{
3066830668
if (TARGET_NEON && !BYTES_BIG_ENDIAN && unaligned_access)
3066930669
{
30670-
HOST_WIDE_INT align = TYPE_ALIGN_UNIT (type);
30670+
HOST_WIDE_INT align = GET_MODE_UNIT_SIZE (mode);
3067130671

3067230672
if (is_gather_scatter)
3067330673
return true;

0 commit comments

Comments
 (0)