[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 fd71303..79d712f 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 50665df..590b62c 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
        }