mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
manually upgrade a bunch of tests to modern syntax, and remove some that
are either unreduced or only test old syntax. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133228 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3,8 +3,11 @@
|
||||
|
||||
@G = internal global i32* null ; <i32**> [#uses=3]
|
||||
|
||||
|
||||
declare i8* @malloc(i32)
|
||||
define void @test() {
|
||||
%A = malloc i32 ; <i32*> [#uses=1]
|
||||
%a = call i8* @malloc(i32 4)
|
||||
%A = bitcast i8* %a to i32*
|
||||
store i32* %A, i32** @G
|
||||
ret void
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user