mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 20:27:42 +00:00
New testcase that the raiseallocations pass should be able to handle.
llvm-svn: 10304
This commit is contained in:
parent
60dae0e7d9
commit
b65463d410
@ -0,0 +1,10 @@
|
||||
; This situation can occur due to the funcresolve pass.
|
||||
;
|
||||
; RUN: llvm-as < %s | opt -raiseallocs | llvm-dis | not grep call
|
||||
|
||||
declare void %free(sbyte*)
|
||||
|
||||
void %test(int *%P) {
|
||||
call void(int*)* cast (void(sbyte*)* %free to void(int*)*)(int* %P)
|
||||
ret void
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user