repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
CodeGen
/
X86
/
codegen-prepare-crash.ll
blob
01bcad96d93ffcf667d3d7e5bed857634588ba58
1
; RUN: llc < %s
2
target triple = "x86_64-unknown-linux-gnu"
3
4
@g = external global [10 x i32]
5
6
define void @f(i32 %u) {
7
%1 = add i32 %u, 4
8
br label %P.Proc8.exit
9
10
P.Proc8.exit:
11
%valueindex35.i = getelementptr [10 x i32], [10 x i32]* @g, i32 0, i32 %1
12
store i32 %u, i32* %valueindex35.i
13
ret void
14
}