Kaydet (Commit) b34c0cd9 authored tarafından Eike Rathke's avatar Eike Rathke

Exclude more special OpCode values from vectorization

Namely those that have some reference assigned.

Change-Id: Icd5f79612295f13d552a256233b8f1298e3e5359
üst f2f5ebce
......@@ -1674,6 +1674,19 @@ void ScTokenArray::CheckToken( const FormulaToken& r )
// Named expression would need "recursive" handling of its
// token array for vector state in
// ScFormulaCell::InterpretFormulaGroup() and below.
case ocTableRef:
// May result in a single cell or range reference, depending on
// context.
case ocColRowName:
// The associated reference is the name cell with which to
// create the implicit intersection.
case ocColRowNameAuto:
// Auto column/row names lead to references computed in
// interpreter.
SAL_INFO("sc.opencl", "opcode " << formula::FormulaCompiler().GetOpCodeMap(sheet::FormulaLanguage::ENGLISH)->getSymbol(eOp) << " disables vectorisation for formula group");
meVectorState = FormulaVectorDisabledByOpCode;
mbOpenCLEnabled = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment