[llvm-branch-commits] [cfe-branch] r195765 - Merging r195409:

Bill Wendling isanbard at gmail.com
Tue Nov 26 06:08:30 PST 2013


Author: void
Date: Tue Nov 26 08:08:29 2013
New Revision: 195765

URL: http://llvm.org/viewvc/llvm-project?rev=195765&view=rev
Log:
Merging r195409:
------------------------------------------------------------------------
r195409 | jiangning | 2013-11-21 18:46:20 -0800 (Thu, 21 Nov 2013) | 2 lines

For AArch64, intrinsic vget_low_xxx can be optimized away.

------------------------------------------------------------------------

Modified:
    cfe/branches/release_34/   (props changed)
    cfe/branches/release_34/test/CodeGen/aarch64-neon-vget-hilo.c

Propchange: cfe/branches/release_34/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Nov 26 08:08:29 2013
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:195126,195128,195135-195136,195146,195149,195154,195158,195163,195168,195174,195268,195283,195326,195329,195367,195384,195420,195422,195501,195547,195556,195558,195587,195620,195669,195687,195693,195710,195716
+/cfe/trunk:195126,195128,195135-195136,195146,195149,195154,195158,195163,195168,195174,195268,195283,195326,195329,195367,195384,195409,195420,195422,195501,195547,195556,195558,195587,195620,195669,195687,195693,195710,195716
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_34/test/CodeGen/aarch64-neon-vget-hilo.c
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_34/test/CodeGen/aarch64-neon-vget-hilo.c?rev=195765&r1=195764&r2=195765&view=diff
==============================================================================
--- cfe/branches/release_34/test/CodeGen/aarch64-neon-vget-hilo.c (original)
+++ cfe/branches/release_34/test/CodeGen/aarch64-neon-vget-hilo.c Tue Nov 26 08:08:29 2013
@@ -7,170 +7,170 @@
 #include <arm_neon.h>
 
 int8x8_t test_vget_high_s8(int8x16_t a) {
-   // CHECK: test_vget_high_s8
+  // CHECK-LABEL: test_vget_high_s8:
   return vget_high_s8(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 int16x4_t test_vget_high_s16(int16x8_t a) {
-   // CHECK: test_vget_high_s16
+  // CHECK-LABEL: test_vget_high_s16:
   return vget_high_s16(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 int32x2_t test_vget_high_s32(int32x4_t a) {
-   // CHECK: test_vget_high_s32
+  // CHECK-LABEL: test_vget_high_s32:
   return vget_high_s32(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 int64x1_t test_vget_high_s64(int64x2_t a) {
-   // CHECK: test_vget_high_s64
+  // CHECK-LABEL: test_vget_high_s64:
   return vget_high_s64(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 uint8x8_t test_vget_high_u8(uint8x16_t a) {
-   // CHECK: test_vget_high_u8
+  // CHECK-LABEL: test_vget_high_u8:
   return vget_high_u8(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 uint16x4_t test_vget_high_u16(uint16x8_t a) {
-   // CHECK: test_vget_high_u16
+  // CHECK-LABEL: test_vget_high_u16:
   return vget_high_u16(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 uint32x2_t test_vget_high_u32(uint32x4_t a) {
-   // CHECK: test_vget_high_u32
+  // CHECK-LABEL: test_vget_high_u32:
   return vget_high_u32(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 uint64x1_t test_vget_high_u64(uint64x2_t a) {
-   // CHECK: test_vget_high_u64
+  // CHECK-LABEL: test_vget_high_u64:
   return vget_high_u64(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 poly64x1_t test_vget_high_p64(poly64x2_t a) {
-   // CHECK: test_vget_high_p64
+  // CHECK-LABEL: test_vget_high_p64:
   return vget_high_p64(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 float16x4_t test_vget_high_f16(float16x8_t a) {
-   // CHECK: test_vget_high_f16
+  // CHECK-LABEL: test_vget_high_f16:
   return vget_high_f16(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 float32x2_t test_vget_high_f32(float32x4_t a) {
-   // CHECK: test_vget_high_f32
+  // CHECK-LABEL: test_vget_high_f32:
   return vget_high_f32(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 poly8x8_t test_vget_high_p8(poly8x16_t a) {
-   // CHECK: test_vget_high_p8
+  // CHECK-LABEL: test_vget_high_p8:
   return vget_high_p8(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 poly16x4_t test_vget_high_p16(poly16x8_t a) {
-   // CHECK: test_vget_high_p16
+  // CHECK-LABEL: test_vget_high_p16
   return vget_high_p16(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 float64x1_t test_vget_high_f64(float64x2_t a) {
-   // CHECK: test_vget_high_f64
+  // CHECK-LABEL: test_vget_high_f64
   return vget_high_f64(a);
   // CHECK: dup d0, {{v[0-9]+}}.d[1]
 }
 
 int8x8_t test_vget_low_s8(int8x16_t a) {
-   // CHECK: test_vget_low_s8
+  // CHECK-LABEL: test_vget_low_s8:
   return vget_low_s8(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 
 int16x4_t test_vget_low_s16(int16x8_t a) {
-   // CHECK: test_vget_low_s16
+  // CHECK-LABEL: test_vget_low_s16:
   return vget_low_s16(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 
 int32x2_t test_vget_low_s32(int32x4_t a) {
-   // CHECK: test_vget_low_s32
+  // CHECK-LABEL: test_vget_low_s32:
   return vget_low_s32(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 
 int64x1_t test_vget_low_s64(int64x2_t a) {
-   // CHECK: test_vget_low_s64
+  // CHECK-LABEL: test_vget_low_s64:
   return vget_low_s64(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 
 uint8x8_t test_vget_low_u8(uint8x16_t a) {
-   // CHECK: test_vget_low_u8
+  // CHECK-LABEL: test_vget_low_u8:
   return vget_low_u8(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 
 uint16x4_t test_vget_low_u16(uint16x8_t a) {
-   // CHECK: test_vget_low_u16
+  // CHECK-LABEL: test_vget_low_u16:
   return vget_low_u16(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 
 uint32x2_t test_vget_low_u32(uint32x4_t a) {
-   // CHECK: test_vget_low_u32
+  // CHECK-LABEL: test_vget_low_u32:
   return vget_low_u32(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 
 uint64x1_t test_vget_low_u64(uint64x2_t a) {
-   // CHECK: test_vget_low_u64
+  // CHECK-LABEL: test_vget_low_u64:
   return vget_low_u64(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 
 poly64x1_t test_vget_low_p64(poly64x2_t a) {
-   // CHECK: test_vget_low_p64
+  // CHECK-LABEL: test_vget_low_p64:
   return vget_low_p64(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 
 float16x4_t test_vget_low_f16(float16x8_t a) {
-   // CHECK: test_vget_low_f16
+  // CHECK-LABEL: test_vget_low_f16:
   return vget_low_f16(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 
 float32x2_t test_vget_low_f32(float32x4_t a) {
-   // CHECK: test_vget_low_f32
+  // CHECK-LABEL: test_vget_low_f32:
   return vget_low_f32(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 
 poly8x8_t test_vget_low_p8(poly8x16_t a) {
-   // CHECK: test_vget_low_p8
+  // CHECK-LABEL: test_vget_low_p8:
   return vget_low_p8(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 
 poly16x4_t test_vget_low_p16(poly16x8_t a) {
-   // CHECK: test_vget_low_p16
+  // CHECK-LABEL: test_vget_low_p16:
   return vget_low_p16(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 
 float64x1_t test_vget_low_f64(float64x2_t a) {
-   // CHECK: test_vget_low_f64
+  // CHECK-LABEL: test_vget_low_f64:
   return vget_low_f64(a);
-  // CHECK: dup d0, {{v[0-9]+}}.d[0]
+  // CHECK-NEXT: ret
 }
 





More information about the llvm-branch-commits mailing list