1 ; REQUIRES: x86_64-linux
2 ; RUN: llc -print-after=slotindexes -stop-after=slotindexes -mtriple=x86_64-- %s -filetype=asm -o %t 2>&1 | FileCheck %s
4 define void @foo(ptr %p) {
6 call void @llvm.pseudoprobe(i64 5116412291814990879, i64 1, i32 0, i64 -1)
11 ;; Check the pseudo probe instruction isn't assigned a slot index.
12 ;CHECK: IR Dump {{.*}}
13 ;CHECK: # Machine code for function foo{{.*}}
14 ;CHECK: {{[0-9]+}}B bb.0 (%ir-block.0)
15 ;CHECK: {{[0-9]+}}B %0:gr64 = COPY killed $rdi
16 ;CHECK: {{^}} PSEUDO_PROBE 5116412291814990879
17 ;CHECK: {{[0-9]+}}B MOV32mi
18 ;CHECK: {{[0-9]+}}B RET 0
20 declare void @llvm.pseudoprobe(i64, i64, i32, i64) #0
22 attributes #0 = { inaccessiblememonly nounwind willreturn }