Skip to content

Commit

Permalink
llvm: add golden test case of test/Bitcode/compatibility.ll
Browse files Browse the repository at this point in the history
Three function declarations had to be removed from the
original test case as #40 has yet to be resolved.

	; Functions -- align
	; TODO: re-enable when llir/llvm#40 is resolved.
	;declare void @f.align2() align 2
	; CHECK: declare void @f.align2() align 2
	; TODO: re-enable when llir/llvm#40 is resolved.
	;declare void @f.align4() align 4
	; CHECK: declare void @f.align4() align 4
	; TODO: re-enable when llir/llvm#40 is resolved.
	;declare void @f.align8() align 8
	; CHECK: declare void @f.align8() align 8
  • Loading branch information
mewmew committed Nov 26, 2018
1 parent a6f65d9 commit 38af47c
Show file tree
Hide file tree
Showing 2 changed files with 1,225 additions and 3 deletions.
9 changes: 6 additions & 3 deletions llvm/test/Bitcode/compatibility.ll
Original file line number Diff line number Diff line change
Expand Up @@ -648,11 +648,14 @@ entry:
}

; Functions -- align
declare void @f.align2() align 2
; TODO: re-enable when https://github.com/llir/llvm/issues/40 is resolved.
;declare void @f.align2() align 2
; CHECK: declare void @f.align2() align 2
declare void @f.align4() align 4
; TODO: re-enable when https://github.com/llir/llvm/issues/40 is resolved.
;declare void @f.align4() align 4
; CHECK: declare void @f.align4() align 4
declare void @f.align8() align 8
; TODO: re-enable when https://github.com/llir/llvm/issues/40 is resolved.
;declare void @f.align8() align 8
; CHECK: declare void @f.align8() align 8

; Functions -- GC
Expand Down
Loading

0 comments on commit 38af47c

Please sign in to comment.