1 ; RUN: llc -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
2 ; RUN: llc -mtriple=x86_64-darwin-unknown < %s | FileCheck %s
4 define i32 @foo(i32 %i) nounwind noinline uwtable "xray-instruction-threshold"="10" {
8 %indvar = phi i32 [0, %entry], [%nextindvar, %Inc]
9 %cond = icmp eq i32 %indvar, %i
10 br i1 %cond, label %Exit, label %Inc
12 %nextindvar = add i32 %indvar, 1
15 %retval = phi i32 [%indvar, %Test]
19 ; CHECK-LABEL: xray_sled_0:
20 ; CHECK-NEXT: .ascii "\353\t"
21 ; CHECK-NEXT: nopw 512(%rax,%rax)