summaryrefslogtreecommitdiffstats
path: root/llvm/test/Other/print-debug-counter.ll
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2022-12-09 00:51:45 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2022-12-09 01:04:46 +0300
commit34c4fae4b296038bbfda5b37c4eb06d5a2c0650b (patch)
tree15631135b228fb3a0b9c7f4a5294ec8797ff8da7 /llvm/test/Other/print-debug-counter.ll
parenta52d1e78926ac786405f5211a77c913e4ae8a47f (diff)
[NFC] Port all Other tests to `-passes=` syntax
Diffstat (limited to 'llvm/test/Other/print-debug-counter.ll')
-rw-r--r--llvm/test/Other/print-debug-counter.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Other/print-debug-counter.ll b/llvm/test/Other/print-debug-counter.ll
index 4ab1bb65fc57..ac9882fe19c5 100644
--- a/llvm/test/Other/print-debug-counter.ll
+++ b/llvm/test/Other/print-debug-counter.ll
@@ -1,8 +1,8 @@
; REQUIRES: asserts
-; RUN: opt -temporarily-allow-old-pass-syntax -S -debug-counter=early-cse-skip=1,early-cse-count=1 -early-cse -earlycse-debug-hash \
-; RUN: -debug-counter=newgvn-vn-skip=1,newgvn-vn-count=2 -newgvn \
-; RUN: -instcombine -print-debug-counter < %s 2>&1 | FileCheck %s
+; RUN: opt -S -debug-counter=early-cse-skip=1,early-cse-count=1 -passes=early-cse,newgvn,instcombine -earlycse-debug-hash \
+; RUN: -debug-counter=newgvn-vn-skip=1,newgvn-vn-count=2 \
+; RUN: -print-debug-counter < %s 2>&1 | FileCheck %s
;; Test debug counter prints correct info in right order.
; CHECK-LABEL: Counters and values:
; CHECK: early-cse