aboutsummaryrefslogtreecommitdiffstats
path: root/test/Analysis/CostModel/X86/i32.ll
blob: 4015e0b1eef4b6bcfa5c2e191ebc1c5b322aa99d (plain)
1
2
3
4
5
6
7
8
9
; RUN: opt < %s  -cost-model -analyze -mtriple=i386 -mcpu=corei7-avx | FileCheck %s


;CHECK: cost of 2 {{.*}} add
;CHECK: cost of 1 {{.*}} ret
define i32 @no_info(i32 %arg) {
  %e = add i64 undef, undef
  ret i32 undef
}