[llvm] 435e75d - [Tests][LoopDistribute] Re-adding target triple in a test (#82954)

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 12:19:26 PST 2024


Author: Nilanjana Basu
Date: 2024-02-26T12:19:21-08:00
New Revision: 435e75db80e1ffd0f9752534d4544eba5e0610df

URL: https://github.com/llvm/llvm-project/commit/435e75db80e1ffd0f9752534d4544eba5e0610df
DIFF: https://github.com/llvm/llvm-project/commit/435e75db80e1ffd0f9752534d4544eba5e0610df.diff

LOG: [Tests][LoopDistribute] Re-adding target triple in a test (#82954)

This test triple was removed earlier to fix build errors. To preserve the original test intention the triple is re-added with an explicit target requirement.

Added: 
    

Modified: 
    llvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll b/llvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll
index 2b9f777e9f3b24..97ea2c6708dadf 100644
--- a/llvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll
+++ b/llvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll
@@ -1,3 +1,4 @@
+; REQUIRES: x86-registered-target
 ; RUN: opt -aa-pipeline=basic-aa -passes=loop-distribute -enable-loop-distribute -verify-loop-info -verify-dom-info -S \
 ; RUN:   < %s | FileCheck %s
 
@@ -18,6 +19,7 @@
 ;   }
 
 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-apple-macosx10.10.0"
 
 @B = common global ptr null, align 8
 @A = common global ptr null, align 8
@@ -77,6 +79,7 @@ entry:
 ; CHECK: for.end:
 
 
+; VECTORIZE: mul <4 x i32>
 ; VECTORIZE: mul <4 x i32>
 ; VECTORIZE-NOT: mul <4 x i32>
 


        


More information about the llvm-commits mailing list