[llvm] 83646f6 - [AMDGPU] Fix llc pipeline lit test for bots enabling expensive checks

Baptiste Saleil via llvm-commits llvm-commits at lists.llvm.org
Wed May 5 07:58:43 PDT 2021


Author: Baptiste Saleil
Date: 2021-05-05T10:57:58-04:00
New Revision: 83646f60a8a499473aad0fa591195065fca9d7b2

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

LOG: [AMDGPU] Fix llc pipeline lit test for bots enabling expensive checks

Added: 
    

Modified: 
    llvm/test/CodeGen/AMDGPU/llc-pipeline.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll b/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
index b97731b93dcd..4df3f8bfc94c 100644
--- a/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
+++ b/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
@@ -1,11 +1,18 @@
+; When EXPENSIVE_CHECKS are enabled, the machine verifier appears between each
+; pass. Ignore it with 'grep -v'.
 ; fixme: the following line is added to cleanup bots, will be removed in weeks.
 ; RUN: rm -f %S/llc-pipeline.s
-; RUN: llc -O0 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < %s 2>&1 | FileCheck -check-prefix=GCN-O0 %s
-; RUN: llc -O1 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < %s 2>&1 | FileCheck -check-prefix=GCN-O1 %s
+; RUN: llc -O0 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < %s 2>&1 \
+; RUN:   | grep -v 'Verify generated machine code' | FileCheck -check-prefix=GCN-O0 %s
+; RUN: llc -O1 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < %s 2>&1 \
+; RUN:   | grep -v 'Verify generated machine code' | FileCheck -check-prefix=GCN-O1 %s
 ; RUN: llc -O1 -mtriple=amdgcn--amdhsa -disable-verify -amdgpu-scalar-ir-passes -amdgpu-sdwa-peephole \
-; RUN:   -amdgpu-load-store-vectorizer -debug-pass=Structure < %s 2>&1 | FileCheck -check-prefix=GCN-O1-OPTS %s
-; RUN: llc -O2 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < %s 2>&1 | FileCheck -check-prefix=GCN-O2 %s
-; RUN: llc -O3 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < %s 2>&1 | FileCheck -check-prefix=GCN-O3 %s
+; RUN:   -amdgpu-load-store-vectorizer -debug-pass=Structure < %s 2>&1 \
+; RUN:   | grep -v 'Verify generated machine code' | FileCheck -check-prefix=GCN-O1-OPTS %s
+; RUN: llc -O2 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < %s 2>&1 \
+; RUN:   | grep -v 'Verify generated machine code' | FileCheck -check-prefix=GCN-O2 %s
+; RUN: llc -O3 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < %s 2>&1 \
+; RUN:   | grep -v 'Verify generated machine code' | FileCheck -check-prefix=GCN-O3 %s
 
 ; REQUIRES: asserts
 


        


More information about the llvm-commits mailing list