llvm-capstone/llvm
Sanjay Patel 5b77ac32b1 [SLP] match maxnum/minnum intrinsics as FP reduction ops
After much refactoring over the last 2 weeks to the reduction
matching code, I think this change is finally ready.

We effectively broke fmax/fmin vector reduction optimization
when we started canonicalizing to intrinsics in instcombine,
so this should restore that functionality for SLP.

There are still FMF problems here as noted in the code comments,
but we should be avoiding miscompiles on those for fmax/fmin by
restricting to full 'fast' ops (negative tests are included).

Fixing FMF propagation is a planned follow-up.

Differential Revision: https://reviews.llvm.org/D94913
2021-01-18 17:37:16 -05:00
..
benchmarks
bindings
cmake Reland [lldb][docs] Use sphinx instead of epydoc to generate LLDB's Python reference 2021-01-17 12:13:01 +01:00
docs [Doc] Fix example in codegen doc. 2021-01-18 08:24:10 -05:00
examples
include [STLExtras] Add a default value to drop_begin 2021-01-18 10:16:34 -08:00
lib [SLP] match maxnum/minnum intrinsics as FP reduction ops 2021-01-18 17:37:16 -05:00
projects
resources
runtimes
test [SLP] match maxnum/minnum intrinsics as FP reduction ops 2021-01-18 17:37:16 -05:00
tools [llvm] Use the default value of drop_begin (NFC) 2021-01-18 10:16:36 -08:00
unittests [STLExtras] Add a default value to drop_begin 2021-01-18 10:16:34 -08:00
utils [TableGen] Drop redundant const from return types (NFC) 2021-01-17 10:39:49 -08:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
README.txt
RELEASE_TESTERS.TXT

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.