[llvm] r264337 - Match call and target calling conventions in test
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 24 13:51:24 PDT 2016
Author: sanjoy
Date: Thu Mar 24 15:51:24 2016
New Revision: 264337
URL: http://llvm.org/viewvc/llvm-project?rev=264337&view=rev
Log:
Match call and target calling conventions in test
Fixes an issue in rL264329.
Modified:
llvm/trunk/test/CodeGen/X86/deopt-intrinsic.ll
Modified: llvm/trunk/test/CodeGen/X86/deopt-intrinsic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/deopt-intrinsic.ll?rev=264337&r1=264336&r2=264337&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/deopt-intrinsic.ll (original)
+++ llvm/trunk/test/CodeGen/X86/deopt-intrinsic.ll Thu Mar 24 15:51:24 2016
@@ -7,6 +7,7 @@ target triple = "x86_64-apple-macosx10.1
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:
@@ -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: ##{{.+}}
@@ -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:
More information about the llvm-commits
mailing list