mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-18 13:34:04 +00:00
LLVM instruction syntax doesn't have trailing semicolons.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97456 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c11e29a883
commit
3a9fd8064a
@ -23,12 +23,12 @@ entry:
|
|||||||
br i1 %cmp, label %cond.true, label %cond.false
|
br i1 %cmp, label %cond.true, label %cond.false
|
||||||
|
|
||||||
cond.true:
|
cond.true:
|
||||||
%1 = load i8** %retval;
|
%1 = load i8** %retval
|
||||||
ret i8* %1;
|
ret i8* %1
|
||||||
|
|
||||||
cond.false:
|
cond.false:
|
||||||
%2 = load i8** %retval;
|
%2 = load i8** %retval
|
||||||
ret i8* %2;
|
ret i8* %2
|
||||||
}
|
}
|
||||||
|
|
||||||
define i32 @f() nounwind {
|
define i32 @f() nounwind {
|
||||||
@ -64,7 +64,7 @@ entry:
|
|||||||
}
|
}
|
||||||
|
|
||||||
@.str5 = private constant [9 x i32] [i32 97, i32 98, i32 99, i32 100, i32 0, i32
|
@.str5 = private constant [9 x i32] [i32 97, i32 98, i32 99, i32 100, i32 0, i32
|
||||||
101, i32 102, i32 103, i32 0], align 4 ;
|
101, i32 102, i32 103, i32 0], align 4
|
||||||
define i32 @test2() nounwind {
|
define i32 @test2() nounwind {
|
||||||
; CHECK: @test2
|
; CHECK: @test2
|
||||||
; CHECK-NEXT: ret i32 34
|
; CHECK-NEXT: ret i32 34
|
||||||
|
Loading…
x
Reference in New Issue
Block a user