Instcombine should promote this, and because it isn't, we are failing poolalloc tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9980 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-11-13 19:05:15 +00:00
parent a366c98077
commit 623f707bee

View File

@ -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
}