[arm] PR target/82518: Return false in ARRAY_MODE_SUPPORTED_P for BYTES_BIG_ENDIAN...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 27 Apr 2018 08:56:02 +0000 (08:56 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 27 Apr 2018 08:56:02 +0000 (08:56 +0000)
PR target/82518
* lib/target-supports.exp (check_effective_target_vect_load_lanes):
Use check_effective_target_arm_little_endian.

From-SVN: r259700

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index fd713030a32a61f5136feaa09e58c505b3c9d790..79d712f58c20a1d1768d1fb95c5aeeea0f0a9aa3 100644 (file)
@@ -1,3 +1,9 @@
+2018-04-27  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       PR target/82518
+       * lib/target-supports.exp (check_effective_target_vect_load_lanes):
+       Use check_effective_target_arm_little_endian.
+
 2018-04-27  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/85529
index 50665dfd30e164023031d469f8386c9d321c8556..590b62c28e603c9c43cd5c2f5990153e49a3dd6e 100644 (file)
@@ -6589,7 +6589,7 @@ proc check_effective_target_vect_load_lanes { } {
     } else {
        set et_vect_load_lanes 0
        # We don't support load_lanes correctly on big-endian arm.
-       if { ([istarget arm-*-*] && [check_effective_target_arm_neon_ok])
+       if { ([check_effective_target_arm_little_endian] && [check_effective_target_arm_neon_ok])
             || [istarget aarch64*-*-*] } {
            set et_vect_load_lanes 1
        }