Target.isVectorOpSupported

Checks whether the target supports the given operation for vectors.

struct Target
extern (C++)
bool
isVectorOpSupported
(,,
Type t2 = null
)

Parameters

type Type

target type of operation

op EXP

the unary or binary op being done on the type

t2 Type

type of second operand if op is a binary operation

Return Value

Type: bool

true if the operation is supported or type is not a vector

Meta