8 lines · plain
1; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=i386 -mcpu=corei7-avx | FileCheck %s2 3;CHECK: cost of 0 {{.*}} ret4define i32 @no_info(i32 %arg) {5 %e = add i64 undef, undef6 ret i32 undef7}8 1; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=i386 -mcpu=corei7-avx | FileCheck %s2 3;CHECK: cost of 0 {{.*}} ret4define i32 @no_info(i32 %arg) {5 %e = add i64 undef, undef6 ret i32 undef7}8