projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Optimize some common usage patterns of atomic built-ins __sync_add_and_fetch() and...
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2002-12-23-SubProblem.ll
1
; RUN: llvm-as < %s | llc -march=x86 -regalloc=simple
2
3
define i32 @main(i32 %B) {
4
;%B = add i32 0, 1;
5
%R = sub i32 %B, 1 ; %r = 0
6
ret i32 %R
7
}