forked from OSchip/llvm-project
Instcombine should promote this, and because it isn't, we are failing poolalloc tests
llvm-svn: 9980
This commit is contained in:
parent
a8150c3f8d
commit
7ef8dfa9c3
|
@ -0,0 +1,9 @@
|
|||
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep call | not grep cast
|
||||
|
||||
declare void %free(sbyte*)
|
||||
|
||||
void %test(int* %X) {
|
||||
call int (...)* cast (void (sbyte*)* %free to int (...)*)(int * %X)
|
||||
ret void
|
||||
}
|
||||
|
Loading…
Reference in New Issue