projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make sure that the global is known to be internal
[oota-llvm.git]
/
test
/
Analysis
/
DSGraph
/
constantize.ll
1
; Make sure that the ds-opt pass is constantizing globals
2
;
3
; RUN: as < %s | opt -ds-opt | dis | grep %G | grep constant
4
5
6
%G = internal global int 0 ; <int*> [#uses=2]
7
8
implementation ; Functions:
9
10
int %main() {
11
%A = load int* %G
12
ret int %A
13
}