diff options
| author | Nadav Rotem <nrotem@apple.com> | 2012-12-05 21:21:26 +0000 |
|---|---|---|
| committer | Nadav Rotem <nrotem@apple.com> | 2012-12-05 21:21:26 +0000 |
| commit | 0a471ea66c3c1b6b9183987cb4248af2ca216164 (patch) | |
| tree | 040be5ecb5f94dc9026dc3dd88610c591bdca34f /llvm/test/Analysis/CostModel/X86/tiny.ll | |
| parent | c8e56e893195f625647ad249a17b0b532ee544a6 (diff) | |
| download | bcm5719-llvm-0a471ea66c3c1b6b9183987cb4248af2ca216164.tar.gz bcm5719-llvm-0a471ea66c3c1b6b9183987cb4248af2ca216164.zip | |
Cost Model: change the default cost of control flow instructions (br / ret / ...) to zero.
llvm-svn: 169423
Diffstat (limited to 'llvm/test/Analysis/CostModel/X86/tiny.ll')
| -rw-r--r-- | llvm/test/Analysis/CostModel/X86/tiny.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Analysis/CostModel/X86/tiny.ll b/llvm/test/Analysis/CostModel/X86/tiny.ll index cc7b443a7df..0dafdadb5b1 100644 --- a/llvm/test/Analysis/CostModel/X86/tiny.ll +++ b/llvm/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 |

