projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Also requires -mattr=-sse3
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2002-12-23-LocalRAProblem.llx
1
; RUN: llvm-as < %s | llc -march=x86 -regalloc=simple
2
3
int %main() {
4
%A = add int 0, 0 ; %A = 0
5
%B = add int 0, 1 ; %B = 1
6
br label %bb1
7
bb1:
8
%X = mul int %A, %B ; %X = 0*1 = 0
9
%R = sub int %B, 1 ; %r = 0
10
ret int %R
11
}