projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Cost Model: teach the cost model about expanding integers.
[oota-llvm.git]
/
test
/
Analysis
/
CostModel
/
X86
/
i32.ll
1
; RUN: opt < %s -cost-model -analyze -mtriple=i386 -mcpu=corei7-avx | FileCheck %s
2
3
4
;CHECK: cost of 2 {{.*}} add
5
;CHECK: cost of 1 {{.*}} ret
6
define i32 @no_info(i32 %arg) {
7
%e = add i64 undef, undef
8
ret i32 undef
9
}