Files
clang-p2996/llvm/test/Analysis/CostModel/SystemZ/numvectorregs.ll
Simon Pilgrim 4178e33470 [CostModel] Update RUN -passes=* to double quotes to appease update scripts on windows
DOS really doesn't like `` quotes to be used in command lines

Some prep work as I'm intending to resurrect D79483 soon
2022-08-10 17:54:06 +01:00

11 lines
465 B
LLVM

; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=systemz-unknown -mcpu=z13 | FileCheck %s
; Test that the cost for the number of vector registers is returned for a
; non-power-of-two vector type.
define <6 x double> @fun0(<6 x double> %lhs, <6 x double> %rhs) {
%a = fadd <6 x double> %lhs, %rhs
ret <6 x double> %a
; CHECK: function 'fun0'
; CHECK: Cost Model: Found an estimated cost of 3 for instruction: %a = fadd <6 x double>
}