aboutsummaryrefslogtreecommitdiffstats
path: root/test/Analysis/CostModel/X86/i32.ll
blob: 52c295934c762ec6447f85461b2f4ecf1a8b7aac (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 0 {{.*}} ret
define i32 @no_info(i32 %arg) {
  %e = add i64 undef, undef
  ret i32 undef
}