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 f013937a8c1008937fdf08c87434a5281b173483..74bff876f882446577a5dc6f6bb4d9c5a4334525 100644
(file)
--- a/
test/CodeGen/Generic/global-ret0.ll
+++ b/
test/CodeGen/Generic/global-ret0.ll
@@
-1,6
+1,8
@@
-%g = global int 0
+; RUN: llc < %s
-int %main() {
- %h = load int* %g
- ret int %h
+@g = global i32 0 ; <i32*> [#uses=1]
+
+define i32 @main() {
+ %h = load i32* @g ; <i32> [#uses=1]
+ ret i32 %h
}