llvm-project/llvm
Bill Wendling b87b9925be Don't try to move a MBB into the fall-through position if it's a landing pad or
branches only to a landing pad. Without this check, the compiler would go into
an infinite loop because the branch to a landing pad is an "abnormal" edge which
wasn't being taken into account.

This is the meat of that fix:

  if (!PrevBB.canFallThrough() && !MBB->BranchesToLandingPad(MBB)) {

The other stuff is simplification of the "branches to a landing pad" code.

llvm-svn: 91161
2009-12-11 21:47:36 +00:00
..
Xcode
autoconf Fix typos. Thanks to John Tytgat for noticing it! 2009-12-07 00:27:35 +00:00
bindings Expose the rest of the attribute settings. 2009-09-28 04:42:47 +00:00
cmake CheckAtomic.cmake: Put all C++ code inside CHECK_CXX_SOURCE_COMPILES. 2009-12-06 00:06:33 +00:00
docs Add note about loadable modules on windows. 2009-12-09 17:26:02 +00:00
examples fix PR5649 by making fib use the JIT instead of the interpreter, patch by Perry Lorier! 2009-12-01 01:56:27 +00:00
include Implement vector widening, splitting, and scalarizing for SIGN_EXTEND_INREG. 2009-12-11 21:31:27 +00:00
lib Don't try to move a MBB into the fall-through position if it's a landing pad or 2009-12-11 21:47:36 +00:00
projects Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
runtime OptimalEdgeProfiling: Creation of profiles. 2009-09-01 19:03:44 +00:00
test Implement vector widening, splitting, and scalarizing for SIGN_EXTEND_INREG. 2009-12-11 21:31:27 +00:00
tools when opt crashes, print its command line arguments as a pretty stack trace. 2009-12-09 00:41:28 +00:00
unittests Add an implementation of the delta debugging algorithm. 2009-12-03 11:12:42 +00:00
utils Remove unneeded ';' and a class/struct mismatch (noticed by clang). 2009-12-09 02:58:09 +00:00
website
CMakeLists.txt Don't default warnings to ON on MSVC, the spew is enough to triple the build time. :/ 2009-12-01 19:11:36 +00:00
CREDITS.TXT Add myself to the blame list. 2009-08-20 15:20:15 +00:00
LICENSE.TXT Add regular expression matching support, based on OpenBSD regexec()/regcomp() 2009-08-30 08:24:09 +00:00
Makefile Add the rest of the build system logic for optional target disassemblers 2009-11-25 04:46:58 +00:00
Makefile.common
Makefile.config.in Fix typos. Thanks to John Tytgat for noticing it! 2009-12-07 00:27:35 +00:00
Makefile.rules Add the rest of the build system logic for optional target disassemblers 2009-11-25 04:46:58 +00:00
ModuleInfo.txt
README.txt First test commit 2009-10-05 22:29:11 +00:00
build-for-llvm-top.sh
configure Fix typos. Thanks to John Tytgat for noticing it! 2009-12-07 00:27:35 +00:00
llvm.spec.in

README.txt

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

This directory and its subdirectories contain source code for the Low Level
Virtual Machine, 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 HTML documentation provided in docs/index.html for further
assistance with LLVM.