[clang] 8c26f42 - [clang, ARM, MVE] Remove redundant #includes in test file.

Simon Tatham via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 27 01:39:43 PST 2020


Author: Simon Tatham
Date: 2020-02-27T09:39:35Z
New Revision: 8c26f42fe90e3f8612d2f57a3c9c5e7fcff5e91e

URL: https://github.com/llvm/llvm-project/commit/8c26f42fe90e3f8612d2f57a3c9c5e7fcff5e91e
DIFF: https://github.com/llvm/llvm-project/commit/8c26f42fe90e3f8612d2f57a3c9c5e7fcff5e91e.diff

LOG: [clang,ARM,MVE] Remove redundant #includes in test file.

I made that file by pasting together several pieces, and forgot to
take out the #include <arm_mve.h> from the tops of the later ones, so
the test was pointlessly including the same header five times. NFC.

Added: 
    

Modified: 
    clang/test/CodeGen/arm-mve-intrinsics/absneg.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/arm-mve-intrinsics/absneg.c b/clang/test/CodeGen/arm-mve-intrinsics/absneg.c
index 94339c834809..4f888093d8b8 100644
--- a/clang/test/CodeGen/arm-mve-intrinsics/absneg.c
+++ b/clang/test/CodeGen/arm-mve-intrinsics/absneg.c
@@ -527,7 +527,6 @@ int32x4_t test_vqnegq_s32(int32x4_t a)
     return vqnegq_s32(a);
 #endif /* POLYMORPHIC */
 }
-#include <arm_mve.h>
 
 // CHECK-LABEL: @test_vnegq_m_f16(
 // CHECK-NEXT:  entry:
@@ -689,8 +688,6 @@ int32x4_t test_vnegq_x_s32(int32x4_t a, mve_pred16_t p)
 #endif /* POLYMORPHIC */
 }
 
-#include <arm_mve.h>
-
 // CHECK-LABEL: @test_vabsq_m_f16(
 // CHECK-NEXT:  entry:
 // CHECK-NEXT:    [[TMP0:%.*]] = zext i16 [[P:%.*]] to i32
@@ -851,8 +848,6 @@ int32x4_t test_vabsq_x_s32(int32x4_t a, mve_pred16_t p)
 #endif /* POLYMORPHIC */
 }
 
-#include <arm_mve.h>
-
 // CHECK-LABEL: @test_vqnegq_m_s8(
 // CHECK-NEXT:  entry:
 // CHECK-NEXT:    [[TMP0:%.*]] = zext i16 [[P:%.*]] to i32
@@ -901,8 +896,6 @@ int32x4_t test_vqnegq_m_s32(int32x4_t inactive, int32x4_t a, mve_pred16_t p)
 #endif /* POLYMORPHIC */
 }
 
-#include <arm_mve.h>
-
 // CHECK-LABEL: @test_vqabsq_m_s8(
 // CHECK-NEXT:  entry:
 // CHECK-NEXT:    [[TMP0:%.*]] = zext i16 [[P:%.*]] to i32


        


More information about the cfe-commits mailing list