summaryrefslogtreecommitdiffstats
path: root/llvm/test/Other/print-slotindexes.ll
blob: 722a3dc5a93893cec6be22bb6850f1dc8b41a2d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc -print-after=slotindexes < %s 2>&1 | FileCheck %s --check-prefixes=ALL,SI 
; RUN: llc -print-after=slotindexes -print-slotindexes=false < %s 2>&1 | FileCheck %s --check-prefixes=ALL,NOSI
; REQUIRES: default_triple
define void @foo(){
  ret void
}

;CHECK: IR Dump {{.*}}
;CHECK: # Machine code for function foo{{.*}}
;SI: {{[0-9]+}}B bb.0 (%ir-block.0)
;NOSI: {{^}}bb.0 (%ir-block.0)

OpenPOWER on IntegriCloud