projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fast-isel is now *minimally* functional. Add a testcase to
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
fast-isel.ll
1
; RUN: llvm-as < %s | llc -fast-isel | grep add | count 1
2
3
; This tests very minimal fast-isel functionality.
4
5
define i32 @foo(i32* %p, i32* %q) {
6
entry:
7
%r = load i32* %p
8
%s = load i32* %q
9
br label %fast
10
11
fast:
12
%t = add i32 %r, %s
13
br label %exit
14
15
exit:
16
ret i32 %t
17
}