repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
CodeGen
/
X86
/
fold-imm.ll
blob
f1fcbcfd13b4561456bf455ff48bd11a651a8f8d
1
; RUN: llc < %s -march=x86 | grep inc
2
; RUN: llc < %s -march=x86 | grep add | grep 4
3
4
define i32 @test(i32 %X) nounwind {
5
entry:
6
%0 = add i32 %X, 1
7
ret i32 %0
8
}
9
10
define i32 @test2(i32 %X) nounwind {
11
entry:
12
%0 = add i32 %X, 4
13
ret i32 %0
14
}