1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/test/Transforms/InstCombine/cast-callee-deopt-bundles.ll

12 lines
245 B
LLVM
Raw Normal View History

; RUN: opt -instcombine -S < %s | FileCheck %s
declare void @foo(i32)
define void @g() {
; CHECK-LABEL: @g(
entry:
; CHECK: call void @foo(i32 0) [ "deopt"() ]
call void bitcast (void (i32)* @foo to void ()*) () [ "deopt"() ]
ret void
}