projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cost Model: change the default cost of control flow instructions (br / ret / ......
[oota-llvm.git]
/
test
/
Analysis
/
CostModel
/
X86
/
tiny.ll
diff --git
a/test/Analysis/CostModel/X86/tiny.ll
b/test/Analysis/CostModel/X86/tiny.ll
index cc7b443a7dfc823bb0f9e00ea2d38517ba60387e..0dafdadb5b159d571cd623ce06b095da9fc062bc 100644
(file)
--- a/
test/Analysis/CostModel/X86/tiny.ll
+++ b/
test/Analysis/CostModel/X86/tiny.ll
@@
-4,7
+4,7
@@
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
target triple = "x86_64-apple-macosx10.8.0"
;CHECK: cost of 1 {{.*}} add
-;CHECK: cost of
1
{{.*}} ret
+;CHECK: cost of
0
{{.*}} ret
define i32 @no_info(i32 %arg) {
%e = add i32 %arg, %arg
ret i32 %e