mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +00:00
b338d897f9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171341 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|