mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Remove some validation errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90184 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cf493b89be
commit
02216ff01e
@ -813,23 +813,23 @@ DW_TAG_return_variable = 258
|
|||||||
<pre>
|
<pre>
|
||||||
define void @foo() nounwind ssp {
|
define void @foo() nounwind ssp {
|
||||||
entry:
|
entry:
|
||||||
%X = alloca i32, align 4 ; <i32*> [#uses=4]
|
%X = alloca i32, align 4 ; <i32*> [#uses=4]
|
||||||
%Y = alloca i32, align 4 ; <i32*> [#uses=4]
|
%Y = alloca i32, align 4 ; <i32*> [#uses=4]
|
||||||
%Z = alloca i32, align 4 ; <i32*> [#uses=3]
|
%Z = alloca i32, align 4 ; <i32*> [#uses=3]
|
||||||
%0 = bitcast i32* %X to { }* ; <{ }*> [#uses=1]
|
%0 = bitcast i32* %X to { }* ; <{ }*> [#uses=1]
|
||||||
call void @llvm.dbg.declare({ }* %0, metadata !0), !dbg !7
|
call void @llvm.dbg.declare({ }* %0, metadata !0), !dbg !7
|
||||||
store i32 21, i32* %X, !dbg !8
|
store i32 21, i32* %X, !dbg !8
|
||||||
%1 = bitcast i32* %Y to { }* ; <{ }*> [#uses=1]
|
%1 = bitcast i32* %Y to { }* ; <{ }*> [#uses=1]
|
||||||
call void @llvm.dbg.declare({ }* %1, metadata !9), !dbg !10
|
call void @llvm.dbg.declare({ }* %1, metadata !9), !dbg !10
|
||||||
store i32 22, i32* %Y, !dbg !11
|
store i32 22, i32* %Y, !dbg !11
|
||||||
%2 = bitcast i32* %Z to { }* ; <{ }*> [#uses=1]
|
%2 = bitcast i32* %Z to { }* ; <{ }*> [#uses=1]
|
||||||
call void @llvm.dbg.declare({ }* %2, metadata !12), !dbg !14
|
call void @llvm.dbg.declare({ }* %2, metadata !12), !dbg !14
|
||||||
store i32 23, i32* %Z, !dbg !15
|
store i32 23, i32* %Z, !dbg !15
|
||||||
%tmp = load i32* %X, !dbg !16 ; <i32> [#uses=1]
|
%tmp = load i32* %X, !dbg !16 ; <i32> [#uses=1]
|
||||||
%tmp1 = load i32* %Y, !dbg !16 ; <i32> [#uses=1]
|
%tmp1 = load i32* %Y, !dbg !16 ; <i32> [#uses=1]
|
||||||
%add = add nsw i32 %tmp, %tmp1, !dbg !16 ; <i32> [#uses=1]
|
%add = add nsw i32 %tmp, %tmp1, !dbg !16 ; <i32> [#uses=1]
|
||||||
store i32 %add, i32* %Z, !dbg !16
|
store i32 %add, i32* %Z, !dbg !16
|
||||||
%tmp2 = load i32* %Y, !dbg !17 ; <i32> [#uses=1]
|
%tmp2 = load i32* %Y, !dbg !17 ; <i32> [#uses=1]
|
||||||
store i32 %tmp2, i32* %X, !dbg !17
|
store i32 %tmp2, i32* %X, !dbg !17
|
||||||
ret void, !dbg !18
|
ret void, !dbg !18
|
||||||
}
|
}
|
||||||
@ -875,7 +875,7 @@ declare void @llvm.dbg.declare({ }*, metadata) nounwind readnone
|
|||||||
function.</p>
|
function.</p>
|
||||||
|
|
||||||
<div class="doc_code">
|
<div class="doc_code">
|
||||||
<pre>
|
<pre>
|
||||||
call void @llvm.dbg.declare({ }* %0, metadata !0), !dbg !7
|
call void @llvm.dbg.declare({ }* %0, metadata !0), !dbg !7
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
@ -910,7 +910,7 @@ call void @llvm.dbg.declare({ }* %0, metadata !0), !dbg !7
|
|||||||
<p>Now lets take another example.</p>
|
<p>Now lets take another example.</p>
|
||||||
|
|
||||||
<div class="doc_code">
|
<div class="doc_code">
|
||||||
<pre>
|
<pre>
|
||||||
call void @llvm.dbg.declare({ }* %2, metadata !12), !dbg !14
|
call void @llvm.dbg.declare({ }* %2, metadata !12), !dbg !14
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user