projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
TBAA: remove !tbaa from testing cases when they are not needed.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
fold-imm.ll
1
; RUN: llc < %s -march=x86 | FileCheck %s
2
3
define i32 @test(i32 %X) nounwind {
4
entry:
5
%0 = add i32 %X, 1
6
ret i32 %0
7
}
8
9
; CHECK: test
10
; CHECK: inc
11
; CHECK: ret
12
13
define i32 @test2(i32 %X) nounwind {
14
entry:
15
%0 = add i32 %X, 4
16
ret i32 %0
17
}
18
19
; CHECK: test2
20
; CHECK: {{add.*4.*$}}
21
; CHECK: ret