mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
9d4979123e
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62956 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
231 B
LLVM
12 lines
231 B
LLVM
; RUN: llvm-as < %s | opt -indmemrem | llvm-dis | grep bounce | grep noalias
|
|
|
|
declare i8* @malloc(i32)
|
|
|
|
@g = external global i8*
|
|
|
|
define void @test() {
|
|
%A = bitcast i8* (i32) * @malloc to i8*
|
|
store i8* %A, i8** @g
|
|
ret void
|
|
}
|