llvm-project/llvm
Nikita Popov 1ff313f098 [SCEV] Always constant fold mul expression operands
Establish parity with the handling of add expressions, by always
constant folding mul expression operands before checking the depth
limit (this is a non-recursive simplification). The code was already
unconditionally constant folding the case where all operands were
constants, but was not folding multiple constant operands together
if there were also non-constant operands.

This requires picking out a different demonstration for depth-based
folding differences in the limit-depth.ll test.
2020-10-25 18:50:06 +01:00
..
benchmarks
bindings [IR] add fn attr for no_stack_protector; prevent inlining on mismatch 2020-10-23 11:55:39 -07:00
cmake [AIX][cmake] Adjust management of `-G` for linking 2020-10-23 14:32:36 -04:00
docs [X86] Add a stub for Intel's alderlake. 2020-10-24 19:01:22 +02:00
examples [ORC] Break up C-API header Orc.h, and add JITEventListener support. 2020-10-19 01:59:04 -07:00
include Revert "[CostModel] remove cost-kind predicate for vector reduction costs" 2020-10-25 08:47:54 +02:00
lib [SCEV] Always constant fold mul expression operands 2020-10-25 18:50:06 +01:00
projects
resources
runtimes [runtimes] Revert the libc++ __config_site change 2020-10-23 09:41:48 -04:00
test [SCEV] Always constant fold mul expression operands 2020-10-25 18:50:06 +01:00
tools [llvm-cov] don't include all source files when provided source files are filtered out 2020-10-23 19:32:16 -07:00
unittests Fix some signed/unsigned comparison gcc warnings from D87930 2020-10-24 12:51:51 +01:00
utils [clangd] Add a TestWorkspace utility 2020-10-24 20:15:17 -04:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [AIX][cmake] Adjust management of `-G` for linking 2020-10-23 14:32:36 -04:00
CODE_OWNERS.TXT [CSKY 1/n] Add basic stub or infra of csky backend 2020-10-10 10:44:08 +08:00
CREDITS.TXT [NFC] Add contributors names to CREDITS.TXT 2020-10-07 13:22:55 -04:00
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.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.