aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-04-09 15:44:20 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-04-09 15:44:20 +0000
commit23c2182c2bfcd145b2c33cf5ca831a7348e6adce (patch)
tree539213fa47e89fc0f31e62c647aceda93c205cb5 /llvm/lib/CodeGen/MachineOperand.cpp
parentbec8a66454882285db4c98311ba430adec2c8dac (diff)
downloadllvm-23c2182c2bfcd145b2c33cf5ca831a7348e6adce.zip
llvm-23c2182c2bfcd145b2c33cf5ca831a7348e6adce.tar.gz
llvm-23c2182c2bfcd145b2c33cf5ca831a7348e6adce.tar.bz2
Support generic expansion of ordered vector reduction (PR36732)
Without the fast math flags, the llvm.experimental.vector.reduce.fadd/fmul intrinsic expansions must be expanded in order. This patch scalarizes the reduction, applying the accumulator at the start of the sequence: ((((Acc + Scl[0]) + Scl[1]) + Scl[2]) + ) ... + Scl[NumElts-1] Differential Revision: https://reviews.llvm.org/D45366 llvm-svn: 329585
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions