You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
@ -1,29 +0,0 @@
|
||||
; RUN: opt < %s -instcombine -S | FileCheck %s
|
||||
|
||||
define signext i32 @b(i32* inreg %x) {
|
||||
ret i32 0
|
||||
}
|
||||
|
||||
define void @c(...) {
|
||||
ret void
|
||||
}
|
||||
|
||||
declare void @useit(i32)
|
||||
|
||||
define void @d(i32 %x, ...) {
|
||||
call void @useit(i32 %x)
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @g(i32* %y) {
|
||||
call i32 bitcast (i32 (i32*)* @b to i32 (i32)*)(i32 zeroext 0)
|
||||
call void bitcast (void (...)* @c to void (i32*)*)(i32* %y)
|
||||
call void bitcast (void (...)* @c to void (i32*)*)(i32* sret %y)
|
||||
call void bitcast (void (i32, ...)* @d to void (i32, i32*)*)(i32 0, i32* sret %y)
|
||||
ret void
|
||||
}
|
||||
; CHECK-LABEL: define void @g(i32* %y)
|
||||
; CHECK: call i32 bitcast (i32 (i32*)* @b to i32 (i32)*)(i32 zeroext 0)
|
||||
; CHECK: call void (...) @c(i32* %y)
|
||||
; CHECK: call void bitcast (void (...)* @c to void (i32*)*)(i32* sret %y)
|
||||
; CHECK: call void bitcast (void (i32, ...)* @d to void (i32, i32*)*)(i32 0, i32* sret %y)
|
Reference in New Issue
Block a user