[llvm] 17e9732 - Fix test failure found by "Have REQUIRES support the target triple"

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 6 08:08:23 PDT 2021


Author: Paul Robinson
Date: 2021-08-06T08:07:58-07:00
New Revision: 17e9732f48adcc0b1211ee9f3c5151ba3870cb50

URL: https://github.com/llvm/llvm-project/commit/17e9732f48adcc0b1211ee9f3c5151ba3870cb50
DIFF: https://github.com/llvm/llvm-project/commit/17e9732f48adcc0b1211ee9f3c5151ba3870cb50.diff

LOG: Fix test failure found by "Have REQUIRES support the target triple"

Added: 
    

Modified: 
    llvm/test/Transforms/InstCombine/AArch64/2012-04-23-Neon-Intrinsics.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstCombine/AArch64/2012-04-23-Neon-Intrinsics.ll b/llvm/test/Transforms/InstCombine/AArch64/2012-04-23-Neon-Intrinsics.ll
index 04fb7d91193af..392865f1ea02c 100644
--- a/llvm/test/Transforms/InstCombine/AArch64/2012-04-23-Neon-Intrinsics.ll
+++ b/llvm/test/Transforms/InstCombine/AArch64/2012-04-23-Neon-Intrinsics.ll
@@ -1,6 +1,5 @@
-; RUN: opt -S -instcombine < %s | FileCheck %s
+; RUN: opt --mtriple=aarch64-unknown-linux -S -instcombine < %s | FileCheck %s
 ; ARM64 neon intrinsic variants - <rdar://problem/12349617>
-; REQUIRES: aarch64
 
 define <4 x i32> @mulByZeroARM64(<4 x i16> %x) nounwind readnone ssp {
 entry:
@@ -67,5 +66,5 @@ declare <4 x i32> @llvm.aarch64.neon.smull.v4i32(<4 x i16>, <4 x i16>) nounwind
 declare <4 x i32> @llvm.aarch64.neon.umull.v4i32(<4 x i16>, <4 x i16>) nounwind readnone
 
 ; CHECK: attributes #0 = { nounwind readnone ssp }
-; CHECK: attributes #1 = { nounwind readnone }
+; CHECK: attributes #1 = { nofree nosync nounwind readnone willreturn }
 ; CHECK: attributes [[NUW]] = { nounwind }


        


More information about the llvm-commits mailing list