mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 06:00:28 +00:00
8a44ac7412
Reviewers: majnemer Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14857 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254046 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
245 B
LLVM
12 lines
245 B
LLVM
; 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
|
|
}
|