From 83646f60a8a499473aad0fa591195065fca9d7b2 Mon Sep 17 00:00:00 2001 From: Baptiste Saleil Date: Wed, 5 May 2021 10:56:40 -0400 Subject: [PATCH] [AMDGPU] Fix llc pipeline lit test for bots enabling expensive checks --- llvm/test/CodeGen/AMDGPU/llc-pipeline.ll | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll b/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll index b97731b..4df3f8b 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 -- 2.7.4