aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-29 20:34:13 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-10-29 21:26:14 +0100
commitfa48ff3fc981783483bcf609798fbb48524300ba (patch)
treecd6f8170bd8b46981fb7d69e0d3c3ed538f16ec5 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parentb22f111023ba2560d0e9f6b4c3a4aea7c568df1e (diff)
downloadllvm-fa48ff3fc981783483bcf609798fbb48524300ba.zip
llvm-fa48ff3fc981783483bcf609798fbb48524300ba.tar.gz
llvm-fa48ff3fc981783483bcf609798fbb48524300ba.tar.bz2
[CodeGen] Fix neutral value of vecreduce fadd in tests (NFC)
The neutral value is -0.0, not 0.0. This doesn't matter for "fast" reductions due to nsz, but does matter for reassoc-only and seq reductions. Change tests to mostly use -0.0 where the neutral value was intended, and add some additional test coverage in some places. Also update LangRef to use the right value.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions