mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
58819de749
Differential Revision: https://reviews.llvm.org/D94853
13 lines
400 B
LLVM
13 lines
400 B
LLVM
; 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
|
|
; 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)
|
|
|