llvm-6502/test/Analysis/CostModel/X86/i32.ll
2012-11-05 21:11:10 +00:00

10 lines
222 B
LLVM

; 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
}