mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
a62270de2c
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
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
|
|
}
|