forked from OSchip/llvm-project
6f81903e89
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 |
||
---|---|---|
.. | ||
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 | ||
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 |