[llvm] 022d0c6 - [test] Require asserts in count-visits.ll
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 12:01:13 PST 2023
Author: Arthur Eubanks
Date: 2023-01-30T12:01:02-08:00
New Revision: 022d0c6e300300d64a505e2998f066ef81a22784
URL: https://github.com/llvm/llvm-project/commit/022d0c6e300300d64a505e2998f066ef81a22784
DIFF: https://github.com/llvm/llvm-project/commit/022d0c6e300300d64a505e2998f066ef81a22784.diff
LOG: [test] Require asserts in count-visits.ll
-stats doesn't work in release builds without stats enabled.
Followup to D142853
Added:
Modified:
llvm/test/Other/count-visits.ll
Removed:
################################################################################
diff --git a/llvm/test/Other/count-visits.ll b/llvm/test/Other/count-visits.ll
index 48ebb6880d46..3bac1dd51207 100644
--- a/llvm/test/Other/count-visits.ll
+++ b/llvm/test/Other/count-visits.ll
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
; RUN: opt -passes=count-visits -stats 2>&1 -disable-output < %s | FileCheck %s --check-prefix=ONE
; RUN: opt -passes='cgscc(count-visits)' -stats 2>&1 -disable-output < %s | FileCheck %s --check-prefix=ONE
; RUN: opt -passes='cgscc(count-visits,instcombine)' -stats 2>&1 -disable-output < %s | FileCheck %s --check-prefix=TWO
More information about the llvm-commits
mailing list