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
/
2002-12-23-LocalRAProblem.ll
blob
418196b2aaf0e451ebccac1b40c8af9d7d347ab4
1
; RUN: llc < %s -march=x86 -regalloc=simple
2
3
define i32 @main() {
4
; %A = 0
5
%A = add i32 0, 0 ; <i32> [#uses=1]
6
; %B = 1
7
%B = add i32 0, 1 ; <i32> [#uses=2]
8
br label %bb1
9
bb1: ; preds = %0
10
; %X = 0*1 = 0
11
%X = mul i32 %A, %B ; <i32> [#uses=0]
12
; %r = 0
13
%R = sub i32 %B, 1 ; <i32> [#uses=1]
14
ret i32 %R
15
}