aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2019-09-24 19:15:01 +0000
committerIain Sandoe <iains@gcc.gnu.org>2019-09-24 19:15:01 +0000
commit42eb48017d5cf2a7c76b73cb829871e67635536a (patch)
treeed6b9e193f23cf86b6322e076402460fda4fd253
parent931631924b3726db31f2f723e6c7d2d0d9de084f (diff)
downloadgcc-42eb48017d5cf2a7c76b73cb829871e67635536a.zip
gcc-42eb48017d5cf2a7c76b73cb829871e67635536a.tar.gz
gcc-42eb48017d5cf2a7c76b73cb829871e67635536a.tar.bz2
[Darwin, PPC, Mode Iterators 0/n] Make iterators visible to darwin.md.
As a clean-up, we want to be able to use mode iterators in darwin.md. This patch moves the include point for the Darwin include until after the definition of the mode iterators and attrs. No functional change intended. gcc/ChangeLog: 2019-09-24 Iain Sandoe <iain@sandoe.co.uk> * config/rs6000/rs6000.md: Move darwin.md include until after the definition of the mode iterators. From-SVN: r276106
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/rs6000.md3
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ab0cef7..420b3ac 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2019-09-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * config/rs6000/rs6000.md: Move darwin.md include until
+ after the definition of the mode iterators.
+
2019-09-23 Martin Sebor <msebor@redhat.com>
PR tree-optimization/91570
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index f0b0bb4..4dbf85b 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -361,8 +361,6 @@
(include "predicates.md")
(include "constraints.md")
-(include "darwin.md")
-
;; Mode iterators
@@ -731,6 +729,7 @@
(SF "TARGET_P8_VECTOR")
(DI "TARGET_POWERPC64")])
+(include "darwin.md")
;; Start with fixed-point load and store insns. Here we put only the more
;; complex forms. Basic data transfer is done later.