Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/test/CodeGen/X86/stackmap-liveness.ll
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -enable-patchpoint-liveness=false | FileCheck %s | ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -enable-patchpoint-liveness=false | FileCheck %s | ||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx | FileCheck -check-prefix=PATCH %s | ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx | FileCheck -check-prefix=PATCH %s | ||||
; | ; | ||||
; Note: Print verbose stackmaps using -debug-only=stackmaps. | ; Note: Print verbose stackmaps using -debug-only=stackmaps. | ||||
; 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 2 | ; CHECK-NEXT: .long 2 | ||||
; Num LargeConstants | ; Num LargeConstants | ||||
; CHECK-NEXT: .long 0 | ; CHECK-NEXT: .long 0 | ||||
; Num Callsites | ; Num Callsites | ||||
; CHECK-NEXT: .long 5 | ; CHECK-NEXT: .long 5 | ||||
; Functions and stack size | ; Functions and stack size | ||||
; CHECK-NEXT: .quad _stackmap_liveness | ; CHECK-NEXT: .quad _stackmap_liveness | ||||
; CHECK-NEXT: .quad 8 | ; CHECK-NEXT: .quad 8 | ||||
; CHECK-NEXT: .quad 3 | |||||
; CHECK-NEXT: .quad _mixed_liveness | ; CHECK-NEXT: .quad _mixed_liveness | ||||
; CHECK-NEXT: .quad 8 | ; CHECK-NEXT: .quad 8 | ||||
; CHECK-NEXT: .quad 2 | |||||
define void @stackmap_liveness() { | define void @stackmap_liveness() { | ||||
entry: | entry: | ||||
%a1 = call <2 x double> asm sideeffect "", "={xmm2}"() nounwind | %a1 = call <2 x double> asm sideeffect "", "={xmm2}"() nounwind | ||||
; StackMap 1 (no liveness information available) | ; StackMap 1 (no liveness information available) | ||||
; CHECK-LABEL: .long L{{.*}}-_stackmap_liveness | ; CHECK-LABEL: .long L{{.*}}-_stackmap_liveness | ||||
; CHECK-NEXT: .short 0 | ; CHECK-NEXT: .short 0 | ||||
; CHECK-NEXT: .short 0 | ; CHECK-NEXT: .short 0 | ||||
▲ Show 20 Lines • Show All 145 Lines • Show Last 20 Lines |