Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/test/CodeGen/AArch64/stackmap-liveness.ll
; RUN: llc < %s -mtriple=aarch64-apple-darwin | FileCheck %s | ; RUN: llc < %s -mtriple=aarch64-apple-darwin | FileCheck %s | ||||
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" | target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" | ||||
; CHECK-LABEL: .section __LLVM_STACKMAPS,__llvm_stackmaps | ; CHECK-LABEL: .section __LLVM_STACKMAPS,__llvm_stackmaps | ||||
; CHECK-NEXT: __LLVM_StackMaps: | ; CHECK-NEXT: __LLVM_StackMaps: | ||||
; Header | ; Header | ||||
; CHECK-NEXT: .byte 1 | ; CHECK-NEXT: .byte 2 | ||||
; CHECK-NEXT: .byte 0 | ; CHECK-NEXT: .byte 0 | ||||
; CHECK-NEXT: .short 0 | ; CHECK-NEXT: .short 0 | ||||
; Num Functions | ; Num Functions | ||||
; CHECK-NEXT: .long 1 | ; CHECK-NEXT: .long 1 | ||||
; Num LargeConstants | ; Num LargeConstants | ||||
; CHECK-NEXT: .long 0 | ; CHECK-NEXT: .long 0 | ||||
; Num Callsites | ; Num Callsites | ||||
; CHECK-NEXT: .long 1 | ; CHECK-NEXT: .long 1 | ||||
Show All 22 Lines | |||||
; Align | ; Align | ||||
; CHECK-NEXT: .p2align 3 | ; CHECK-NEXT: .p2align 3 | ||||
%1 = select i1 %c, i64 1, i64 2 | %1 = select i1 %c, i64 1, i64 2 | ||||
call anyregcc void (i64, i32, i8*, i32, ...) @llvm.experimental.patchpoint.void(i64 1, i32 32, i8* null, i32 0) | call anyregcc void (i64, i32, i8*, i32, ...) @llvm.experimental.patchpoint.void(i64 1, i32 32, i8* null, i32 0) | ||||
ret i64 %1 | ret i64 %1 | ||||
} | } | ||||
declare void @llvm.experimental.patchpoint.void(i64, i32, i8*, i32, ...) | declare void @llvm.experimental.patchpoint.void(i64, i32, i8*, i32, ...) | ||||