diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2019-05-20 09:54:06 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2019-05-20 09:54:06 +0000 |
commit | f83cccf917c1c0db45bfaa6728793eb106dda8af (patch) | |
tree | b2c9399a923624b0b611eb29b7f806162a2e72fd /llvm/lib/CodeGen/LiveDebugValues.cpp | |
parent | 6e8f1a80cd988db8870aff9c3bc2ca7a20e04104 (diff) | |
download | bcm5719-llvm-f83cccf917c1c0db45bfaa6728793eb106dda8af.tar.gz bcm5719-llvm-f83cccf917c1c0db45bfaa6728793eb106dda8af.zip |
Match types of accumulator and result for llvm.experimental.vector.reduce.fadd/fmul
The scalar start/accumulator value of the fadd- and fmul reduction
should match the result type of the reduction, as well as the vector
element-type of the input vector. Although this was not explicitly
specified in the LangRef, it was taken for granted in code implementing
the reductions. The patch also fixes the LangRef by adding this
constraint.
Reviewed By: aemerson, nikic
Differential Revision: https://reviews.llvm.org/D60260
llvm-svn: 361133
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
0 files changed, 0 insertions, 0 deletions