1; RUN: opt < %s -cost-model -analyze | FileCheck %s
2
3; The cost model does not have any target information so it can't make a decision.
4
5; -- No triple in this module --
6
7;CHECK: Unknown cost {{.*}} add
8;CHECK: Unknown cost {{.*}} ret
9define i32 @no_info(i32 %arg) {
10  %e = add i32 %arg, %arg
11  ret i32 %e
12}
13