mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 07:22:55 +01:00
7f5ef2d7a5
llvm-svn: 32115
15 lines
350 B
LLVM
15 lines
350 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | opt -constmerge > /dev/null
|
|
|
|
%foo = internal constant {int} {int 7}
|
|
%bar = internal constant {int} {int 7}
|
|
|
|
implementation
|
|
|
|
declare int %test(int*)
|
|
|
|
void %foo() {
|
|
call int %test(int* getelementptr ( {int} * %foo, long 0, uint 0))
|
|
call int %test(int* getelementptr ( {int} * %bar, long 0, uint 0))
|
|
ret void
|
|
}
|