forked from OSchip/llvm-project
5dc4e7c2b9
scalarizeBinop currently folds vec_bo((inselt VecC0, V0, Index), (inselt VecC1, V1, Index)) -> inselt(vec_bo(VecC0, VecC1), scl_bo(V0,V1), Index) This patch extends this to account for cases where one of the vec_bo operands is already all-constant and performs similar cost checks to determine if the scalar binop with a constant still makes sense: vec_bo((inselt VecC0, V0, Index), VecC1) -> inselt(vec_bo(VecC0, VecC1), scl_bo(V0,extractelt(V1,Index)), Index) Fixes PR42174 Differential Revision: https://reviews.llvm.org/D80885 |
||
---|---|---|
.. | ||
X86 | ||
2010-03-22-empty-baseclass.ll | ||
PR6627.ll | ||
basic.ll | ||
bitfield-bittests.ll | ||
gdce.ll | ||
globalaa-retained.ll | ||
inlining-alignment-assumptions.ll | ||
lifetime-sanitizer.ll | ||
min-max-abs-cse.ll | ||
minmax.ll | ||
reassociate-after-unroll.ll | ||
rotate.ll | ||
scev-custom-dl.ll | ||
scev.ll | ||
simplifycfg-options.ll | ||
two-shifts-by-sext.ll | ||
unsigned-multiply-overflow-check.ll | ||
vector-trunc.ll |