Mercurial > hg > CbC > CbC_llvm
comparison test/Transforms/InstCombine/cast-callee-deopt-bundles.ll @ 100:7d135dc70f03 LLVM 3.9
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
96:6418606d0ead | 100:7d135dc70f03 |
---|---|
1 ; RUN: opt -instcombine -S < %s | FileCheck %s | |
2 | |
3 declare void @foo(i32) | |
4 | |
5 define void @g() { | |
6 ; CHECK-LABEL: @g( | |
7 entry: | |
8 ; CHECK: call void @foo(i32 0) [ "deopt"() ] | |
9 call void bitcast (void (i32)* @foo to void ()*) () [ "deopt"() ] | |
10 ret void | |
11 } |