repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[rtsan] Add fork/execve interceptors (#117198)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
GlobalOpt
/
globalvar-code-model.ll
blob
276a49474f73f4dd40584c443af3f40de07b8c7c
1
; RUN: opt -passes=globalopt -S < %s | FileCheck %s
2
3
@G = internal global i32 5, code_model "large"
4
5
define i32 @test() norecurse {
6
%a = load i32, ptr @G
7
store i32 4, ptr @G
8
ret i32 %a
9
}
10
11
; CHECK: @G = internal unnamed_addr global i1 false, code_model "large"