[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / test / Transforms / RewriteStatepointsForGC / deopt-intrinsic-cconv.ll
blob6be0b41b1897ee0323f0acf6ab422440f9ac6e14
1 ; RUN: opt -rewrite-statepoints-for-gc -S < %s | FileCheck %s
2 ; RUN: opt -passes=rewrite-statepoints-for-gc -S < %s | FileCheck %s
4 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
5 target triple = "x86_64-apple-macosx10.11.0"
7 declare cc42 double @llvm.experimental.deoptimize.f64(...)
9 define double @caller_3() gc "statepoint-example" {
10 ; CHECK-LABEL: @caller_3(
11 ; CHECK: call cc42 token (i64, i32, void ()*, i32, i32, ...) @llvm.experimental.gc.statepoint
12 ; CHECK:  unreachable
14 entry:
15   %val = call cc42 double(...) @llvm.experimental.deoptimize.f64() [ "deopt"() ]
16   ret double %val