2021-01-16 10:19:56 +08:00
|
|
|
; RUN: llc -print-after=slotindexes < %s 2>&1 | FileCheck %s --check-prefixes=CHECK,SI
|
|
|
|
; RUN: llc -print-after=slotindexes -print-slotindexes=false < %s 2>&1 | FileCheck %s --check-prefixes=CHECK,NOSI
|
2019-08-22 21:44:47 +08:00
|
|
|
; 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)
|
|
|
|
|