blob: 5f3b56ad9cf882f8c5fb10f9fb287d2229b99795 [file] [log] [blame]
; RUN: opt < %s -cost-model -analyze | FileCheck %s
; The cost model does not have any target information so it just makes boring
; assumptions.
; -- No triple in this module --
;CHECK: cost of 1 {{.*}} add
;CHECK: cost of 1 {{.*}} ret
define i32 @no_info(i32 %arg) {
%e = add i32 %arg, %arg
ret i32 %e
}