[llvm] cb7d28e - Fix BB failure for check lines

Anna Thomas via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 8 17:30:17 PDT 2023


Author: Anna Thomas
Date: 2023-08-08T20:28:33-04:00
New Revision: cb7d28ef52b4f6299282e2c0ae90a717bcda9d0c

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

LOG: Fix BB failure for check lines

Fix clang build bots which complain of missing check lines for Loop
access analysis by generating two run lines (original commit: 3cf24dbb).

Added: 
    

Modified: 
    llvm/test/Transforms/LoopVectorize/interleaved-accesses-use-after-free.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopVectorize/interleaved-accesses-use-after-free.ll b/llvm/test/Transforms/LoopVectorize/interleaved-accesses-use-after-free.ll
index a077bae9f04b63..d5239d5a4e33d5 100644
--- a/llvm/test/Transforms/LoopVectorize/interleaved-accesses-use-after-free.ll
+++ b/llvm/test/Transforms/LoopVectorize/interleaved-accesses-use-after-free.ll
@@ -1,5 +1,6 @@
 ; REQUIRES: asserts
-; RUN: opt -passes=loop-vectorize -debug-only=loop-accesses,vectorutils -force-vector-width=4 -disable-output %s 2>&1 | FileCheck %s
+; RUN: opt -passes=loop-vectorize -debug-only=loop-accesses -force-vector-width=4 -disable-output %s 2>&1 | FileCheck %s -check-prefix=LOOP-ACCESS
+; RUN: opt -passes=loop-vectorize -debug-only=vectorutils -force-vector-width=4 -disable-output %s 2>&1 | FileCheck %s
 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-redhat-linux-gnu"
 
@@ -22,8 +23,8 @@ target triple = "x86_64-redhat-linux-gnu"
 %struct.bar.5 = type { i8 }
 %struct.baz = type { i64, %struct.pluto }
 
-; CHECK: LAA: Found a loop in test: bb4
-; CHECK: Too many dependences, stopped recording
+; LOOP-ACCESS: Too many dependences, stopped recording
+
 ; If no dependences are recorded because there are too many, LoopAccessAnalysis
 ; just conservatively returns true for any pair of instructions compared (even
 ; those belonging to the same store group). This tests make sure that we do not


        


More information about the llvm-commits mailing list