[llvm] d7e10df - Remove checking stats from -gc-empty-basic-blocks test.
Rahman Lavaee via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 22 18:19:04 PDT 2023
Author: Rahman Lavaee
Date: 2023-08-23T01:18:47Z
New Revision: d7e10df605f306196e8a4315728e9e6b7e36a55a
URL: https://github.com/llvm/llvm-project/commit/d7e10df605f306196e8a4315728e9e6b7e36a55a
DIFF: https://github.com/llvm/llvm-project/commit/d7e10df605f306196e8a4315728e9e6b7e36a55a.diff
LOG: Remove checking stats from -gc-empty-basic-blocks test.
The test does not require asserts. So it can't check the stats.
Added:
Modified:
llvm/test/CodeGen/X86/gc-empty-basic-blocks.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/X86/gc-empty-basic-blocks.ll b/llvm/test/CodeGen/X86/gc-empty-basic-blocks.ll
index bac885a71b4c31..f737e43d3b816a 100644
--- a/llvm/test/CodeGen/X86/gc-empty-basic-blocks.ll
+++ b/llvm/test/CodeGen/X86/gc-empty-basic-blocks.ll
@@ -1,8 +1,5 @@
;; This test verifies that -gc-empty-basic-blocks removes empty blocks.
-; RUN: llc < %s -mtriple=x86_64 -O0 -gc-empty-basic-blocks | FileCheck -check-prefix=CHECK %s
-; RUN: llc < %s -mtriple=x86_64 -stats -O0 -gc-empty-basic-blocks 2>&1 | FileCheck -check-prefix=STAT %s
-
-; STAT: 1 gc-empty-basic-blocks - Number of empty blocks removed
+; RUN: llc < %s -mtriple=x86_64 -O0 -gc-empty-basic-blocks | FileCheck %s
define void @foo(i1 zeroext %0) nounwind {
br i1 %0, label %2, label %empty_block
More information about the llvm-commits
mailing list