aarch64: Add a type attribute to aarch64_movk<mode>
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 6 Feb 2020 17:32:00 +0000 (17:32 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 6 Feb 2020 18:09:44 +0000 (18:09 +0000)
Kyrill pointed out off-list that this new pattern was missing
a type attribute.

2020-02-06  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/aarch64/aarch64.md (aarch64_movk<mode>): Add a type
attribute.

gcc/ChangeLog
gcc/config/aarch64/aarch64.md

index db03bf18242b6df2cc9d5c6bd4ae0ceb97d3eec9..1754aa763999c9bcaa2211fe092e550de4a83425 100644 (file)
@@ -1,3 +1,8 @@
+2020-02-06  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * config/aarch64/aarch64.md (aarch64_movk<mode>): Add a type
+       attribute.
+
 2020-02-06  Segher Boessenkool  <segher@kernel.crashing.org>
 
        * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Handle the case
index 9c1f17d0f85d9bbab009e453b5940a3565b782c8..fbf90d907bafdddd9700cb4965f899b9bc6c49aa 100644 (file)
     operands[3] = gen_int_mode (shift, SImode);
     return "movk\\t%<w>0, #%X2, lsl %3";
   }
+  [(set_attr "type" "mov_imm")]
 )
 
 (define_expand "movti"