llvm-project/llvm
Matt Arsenault fbe9533509 AMDGPU: Fix multi-use shl/add combine
This was using a custom function that didn't handle the
addressing modes properly for private. Use
isLegalAddressingMode to avoid duplicating this.

Additionally, skip the combine if there is only one use
since the standard combine will handle it.

llvm-svn: 318013
2017-11-13 05:11:54 +00:00
..
bindings Update go bindings to use new functions from rL317135. 2017-11-02 10:22:26 +00:00
cmake Add a Cross-compilation toolchain file for MSVC. 2017-11-09 20:38:16 +00:00
docs [AMDGPU] Correct targets that support XNACK 2017-11-11 00:50:32 +00:00
examples
include [globalisel][tablegen] Import signextload and zeroextload. 2017-11-11 03:23:44 +00:00
lib AMDGPU: Fix multi-use shl/add combine 2017-11-13 05:11:54 +00:00
projects [debuginfo-tests] Make debuginfo-tests work in a standard configuration. 2017-11-10 20:57:57 +00:00
resources
runtimes [CMake][runtimes] Fix the variable name 2017-11-08 23:44:27 +00:00
test AMDGPU: Fix multi-use shl/add combine 2017-11-13 05:11:54 +00:00
tools [llvm-cvtres] Add support for ARM64 2017-11-10 22:27:41 +00:00
unittests [cfi-verify] Made FileAnalysis operate on a GraphResult rather than build one and validate it. 2017-11-10 21:00:22 +00:00
utils [globalisel][tablegen] Import signextload and zeroextload. 2017-11-11 03:23:44 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [debuginfo-tests] Make debuginfo-tests work in a standard configuration. 2017-11-10 20:57:57 +00:00
CODE_OWNERS.TXT Update my email addresses, NFC. 2017-10-26 10:16:54 +00:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT Update my email addresses, NFC. 2017-10-26 10:16:54 +00:00
configure
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

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.