llvm-project/llvm/test/Transforms/Scalarizer
David Green 6f81903e89 [LV][SLP] Mark fptosi_sat as vectorizable
This adds fptosi_sat and fptoui_sat to the list of trivially
vectorizable functions, mainly so that the loop vectorizer can vectorize
the instruction. Marking them as trivially vectorizable also allows them
to be SLP vectorized, and Scalarized.

The signature of a fptosi_sat requires two type overrides
(@llvm.fptosi.sat.v2i32.v2f32), unlike other intrinsics that often only
take a single. This patch alters hasVectorInstrinsicOverloadedScalarOpd
to isVectorIntrinsicWithOverloadTypeAtArg, so that it can mark the first
operand of the intrinsic as a overloaded (but not scalar) operand.

Differential Revision: https://reviews.llvm.org/D124358
2022-05-03 09:32:34 +01:00
..
basic-inseltpoison.ll
basic.ll
cache-bug.ll
constant-extractelement.ll
constant-insertelement.ll
crash-bug.ll
dbg-invariant.ll
dbginfo.ll
dbgloc-bug-inseltpoison.ll
dbgloc-bug.ll
global-bug-2.ll
global-bug.ll
intrinsics.ll [LV][SLP] Mark fptosi_sat as vectorizable 2022-05-03 09:32:34 +01:00
order-bug-inseltpoison.ll
order-bug.ll
phi-bug-inseltpoison.ll
phi-bug.ll
phi-order.ll
phi-unreachable-pred.ll
scatter-order.ll
store-bug.ll
variable-extractelement.ll
variable-insertelement.ll
vector-gep.ll