Fork of llvm with experimental commits and workarounds for RPCS3
Go to file
Pablo Barrio 1f84662941 Handle empty functions with debug info in load/store opt pass
Summary:
In fuctions that contained debug info but were empty otherwise,
the ARM load/store optimizer could abort. This was because
function MergeReturnIntoLDM handled the special case where a
Machine Basic BLock is empty by calling MBB.empty(). However, this
returns false in presence of debug info, although the function
should be considered empty in the eyes of the load/store optimizer.
This has been fixed by handling the case where searching through the
block finds only debug instructions.

Reviewers: rengolin, dexonsmith, llvm-commits, jmolloy

Subscribers: t.p.northover, aemerson, rengolin, samparker

Differential Revision: https://reviews.llvm.org/D23847

llvm-svn: 279820
2016-08-26 13:00:39 +00:00
bindings
cmake cmake: Install CheckAtomic.cmake (needed by lldb) 2016-08-25 20:53:00 +00:00
docs [libFizzer] rename -print_new_cov_pcs=1 into -print_pcs=1 and make it more useful: print PCs only after the initial corpus has been read and symbolize them 2016-08-25 22:35:08 +00:00
examples Fix singlton -> singleton typo. 2016-08-26 02:00:21 +00:00
include Implement getRandomBytes() function 2016-08-26 08:14:54 +00:00
lib Handle empty functions with debug info in load/store opt pass 2016-08-26 13:00:39 +00:00
projects
resources
runtimes [CMake] Add support for exposing runtime targets 2016-08-25 20:49:51 +00:00
test Handle empty functions with debug info in load/store opt pass 2016-08-26 13:00:39 +00:00
tools llvm-objdump: ELF: Handle code and data mix in all scenarios 2016-08-25 19:41:08 +00:00
unittests Fix ArrayRef initializer_list Ctor Test 2016-08-25 22:09:13 +00:00
utils [X86] Create a new instruction format to handle 4VOp3 encoding. This saves one bit in TSFlags and simplifies MRMSrcMem/MRMSrcReg format handling. 2016-08-22 07:38:50 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format
.clang-tidy
.gitignore [CMake] Add LLVM runtimes directory 2016-06-23 22:07:21 +00:00
CMakeLists.txt Hooking up a check-all target for the runtimes projects 2016-08-25 17:18:41 +00:00
CODE_OWNERS.TXT test commit 2016-08-02 19:25:17 +00:00
configure
CREDITS.TXT Shamelessly add myself to CREDITS.TXT 2016-08-04 16:28:22 +00:00
LICENSE.TXT Remove autoconf references from LICENSE.TXT 2016-08-12 20:11:03 +00:00
llvm.spec.in
LLVMBuild.txt
README.txt Revert rL277454 2016-08-02 13:26:07 +00:00
RELEASE_TESTERS.TXT Adding RELEASE_TESTERS.TXT 2016-07-21 16:46:44 +00:00

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.