projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b9606b
)
[test] Require asserts in count-visits.ll
author
Arthur Eubanks
<aeubanks@google.com>
Mon, 30 Jan 2023 19:58:33 +0000
(11:58 -0800)
committer
Arthur Eubanks
<aeubanks@google.com>
Mon, 30 Jan 2023 20:01:02 +0000
(12:01 -0800)
-stats doesn't work in release builds without stats enabled.
Followup to D142853
llvm/test/Other/count-visits.ll
patch
|
blob
|
history
diff --git
a/llvm/test/Other/count-visits.ll
b/llvm/test/Other/count-visits.ll
index
48ebb68
..
3bac1dd
100644
(file)
--- 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