Skip to content

Commit

Permalink
Match call and target calling conventions in test
Browse files Browse the repository at this point in the history
Fixes an issue in rL264329.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264337 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
sanjoy committed Mar 24, 2016
1 parent 452d923 commit 2f8286b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/CodeGen/X86/deopt-intrinsic.ll
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ target triple = "x86_64-apple-macosx10.11.0"

declare i32 @llvm.experimental.deoptimize.i32(...)
declare i8 @llvm.experimental.deoptimize.i8(...)
declare webkit_jscc i16 @llvm.experimental.deoptimize.i16(...)

define i32 @caller_0() {
; CHECK-LABEL: _caller_0:
Expand Down Expand Up @@ -43,7 +44,7 @@ entry:
ret i8 %v
}

define i8 @caller_2() {
define i16 @caller_2() {
; CHECK-LABEL: _caller_2:
; CHECK-NEXT: {{.+cfi.+}}
; CHECK-NEXT: ##{{.+}}
Expand All @@ -58,8 +59,8 @@ define i8 @caller_2() {
; CHECK-NEXT: retq

entry:
%v = call webkit_jscc i8(...) @llvm.experimental.deoptimize.i8(i32 42, float 500.0) [ "deopt"(i32 3) ]
ret i8 %v
%v = call webkit_jscc i16(...) @llvm.experimental.deoptimize.i16(i32 42, float 500.0) [ "deopt"(i32 3) ]
ret i16 %v
}

; STACKMAPS: Stack Maps: callsites:
Expand Down

0 comments on commit 2f8286b

Please sign in to comment.