projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Relax dwarf line fragments. This fixes a crash in the included testcase.
[oota-llvm.git]
/
test
/
CodeGen
/
Generic
/
global-ret0.ll
diff --git
a/test/CodeGen/Generic/global-ret0.ll
b/test/CodeGen/Generic/global-ret0.ll
index 993049dfb996fff61b850c9cb8941ff998f27b1e..74bff876f882446577a5dc6f6bb4d9c5a4334525 100644
(file)
--- a/
test/CodeGen/Generic/global-ret0.ll
+++ b/
test/CodeGen/Generic/global-ret0.ll
@@
-1,8
+1,8
@@
-; RUN: ll
vm-as < %s | llc
+; RUN: ll
c < %s
-%g = global int 0
+@g = global i32 0 ; <i32*> [#uses=1]
-int %main() {
- %h = load int* %g
-
ret int
%h
+define i32 @main() {
+ %h = load i32* @g ; <i32> [#uses=1]
+
ret i32
%h
}