You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
12
external/llvm/test/Transforms/InstCombine/2008-01-06-VoidCast.ll
vendored
Normal file
12
external/llvm/test/Transforms/InstCombine/2008-01-06-VoidCast.ll
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
; RUN: opt < %s -instcombine -S | FileCheck %s
|
||||
|
||||
define void @f(i16 %y) {
|
||||
ret void
|
||||
}
|
||||
|
||||
define i32 @g(i32 %y) {
|
||||
; CHECK-LABEL: @g(
|
||||
; CHECK: call i32 bitcast
|
||||
%x = call i32 bitcast (void (i16)* @f to i32 (i32)*)( i32 %y ) ; <i32> [#uses=1]
|
||||
ret i32 %x
|
||||
}
|
Reference in New Issue
Block a user