mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-23 01:30:19 +00:00
fix two bogus tests that the asmparser now rejects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92303 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1340dd3708
commit
c17e2849d1
@ -8,7 +8,7 @@ target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:1
|
|||||||
|
|
||||||
define void @bar(i64 %Size) nounwind noinline {
|
define void @bar(i64 %Size) nounwind noinline {
|
||||||
entry:
|
entry:
|
||||||
%mallocsize = mul i64 8, %Size, ; <i64> [#uses=1]
|
%mallocsize = mul i64 8, %Size ; <i64> [#uses=1]
|
||||||
; CHECK: mul i64 %Size, 4
|
; CHECK: mul i64 %Size, 4
|
||||||
%malloccall = tail call i8* @malloc(i64 %mallocsize) ; <i8*> [#uses=1]
|
%malloccall = tail call i8* @malloc(i64 %mallocsize) ; <i8*> [#uses=1]
|
||||||
%.sub = bitcast i8* %malloccall to %struct.foo* ; <%struct.foo*> [#uses=1]
|
%.sub = bitcast i8* %malloccall to %struct.foo* ; <%struct.foo*> [#uses=1]
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
define i32 @foo(i1 %t) {
|
define i32 @foo(i1 %t) {
|
||||||
entry:
|
entry:
|
||||||
call void @bar()
|
call void @bar()
|
||||||
br i1 %t, label %true, label %false,
|
br i1 %t, label %true, label %false
|
||||||
true:
|
true:
|
||||||
call void @bar()
|
call void @bar()
|
||||||
br label %false
|
br label %false
|
||||||
|
Loading…
Reference in New Issue
Block a user