mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
8952ef0071
llvm-svn: 171341
13 lines
308 B
LLVM
13 lines
308 B
LLVM
; RUN: opt < %s -cost-model -analyze | FileCheck %s
|
|
|
|
; The cost model does not have any target information so it can't make a decision.
|
|
|
|
; -- No triple in this module --
|
|
|
|
;CHECK: Unknown cost {{.*}} add
|
|
;CHECK: Unknown cost {{.*}} ret
|
|
define i32 @no_info(i32 %arg) {
|
|
%e = add i32 %arg, %arg
|
|
ret i32 %e
|
|
}
|