From 1ccdd460d1033f7e9158b1c6adfe208f315d1300 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 6 Feb 2020 17:32:00 +0000 Subject: [PATCH] aarch64: Add a type attribute to aarch64_movk Kyrill pointed out off-list that this new pattern was missing a type attribute. 2020-02-06 Richard Sandiford gcc/ * config/aarch64/aarch64.md (aarch64_movk): Add a type attribute. --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/aarch64.md | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index db03bf18242..1754aa76399 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-02-06 Richard Sandiford + + * config/aarch64/aarch64.md (aarch64_movk): Add a type + attribute. + 2020-02-06 Segher Boessenkool * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Handle the case diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index 9c1f17d0f85..fbf90d907ba 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -1297,6 +1297,7 @@ operands[3] = gen_int_mode (shift, SImode); return "movk\\t%0, #%X2, lsl %3"; } + [(set_attr "type" "mov_imm")] ) (define_expand "movti" -- 2.30.2