mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
563ba88392
llvm-svn: 8558
15 lines
446 B
LLVM
15 lines
446 B
LLVM
; RUN: llvm-as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
|
|
|
|
%__popcount_tab = external constant [0 x ubyte]
|
|
%__popcount_tab = constant [4 x ubyte] c"\00\01\01\02"
|
|
|
|
declare void %foo(ubyte *)
|
|
|
|
void %test() {
|
|
getelementptr [0 x ubyte]* %__popcount_tab, long 0, long 2
|
|
getelementptr [4 x ubyte]* %__popcount_tab, long 0, long 2
|
|
call void %foo(ubyte * getelementptr ([0 x ubyte]* %__popcount_tab, long 0, long 2))
|
|
ret void
|
|
}
|
|
|