1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/lib
Reid Kleckner 46c5ea7083 Fix for PR30687. Avoid dereferencing MBB.end().
We don't need to return a MachineInstr* from these stack probe insertion
calls anyway. If we ever need to add it back, we can return an iterator
instead.

Based on a patch by David Kreitzer

This bug is a consequence of

r279314 | dexonsmith | 2016-08-19 13:40:12 -0700 (Fri, 19 Aug 2016) | 110 lines

We hit the "Assertion `!NodePtr->isKnownSentinel()' failed" assertion,
but only when inserting a stack probe call at the end of an MBB, which
isn't necessarily a common situation.

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

llvm-svn: 284130
2016-10-13 15:48:48 +00:00
..
Analysis Create llvm.addressofreturnaddress intrinsic 2016-10-12 22:13:19 +00:00
AsmParser [X86] Basic additions to support RegCall Calling Convention. 2016-10-13 07:53:43 +00:00
Bitcode ThinLTO: handles modules with empty summaries 2016-10-08 04:44:18 +00:00
CodeGen [DAGCombiner] Add vector support to (mul (shl X, Y), Z) -> (shl (mul X, Z), Y) style combines 2016-10-13 14:04:35 +00:00
DebugInfo Update _MSC_VER equality checks for msdiaNNN.dll 2016-10-12 21:51:14 +00:00
Demangle Avoid using alignas and constexpr. 2016-09-06 20:36:24 +00:00
ExecutionEngine Use StringRef instead of raw pointer in ExecutionEngine 2016-10-01 06:22:04 +00:00
Fuzzer Revert "[libFuzzer] refactoring to speed things up, NFC" 2016-10-12 07:26:46 +00:00
IR [X86] Basic additions to support RegCall Calling Convention. 2016-10-13 07:53:43 +00:00
IRReader
LibDriver Object: Replace NewArchiveIterator with a simpler NewArchiveMember class. NFCI. 2016-06-29 22:27:42 +00:00
LineEditor
Linker [ThinLTO] Don't link module level assembly when importing 2016-10-12 18:39:29 +00:00
LTO LTO: Use the correct mangler function in LTOCodeGenerator::applyScopeRestrictions(). 2016-10-12 20:12:19 +00:00
MC [MC] Fix Error Location for ParseIdentifier 2016-10-12 13:58:07 +00:00
Object Next set of additional error checks for invalid Mach-O files for the 2016-10-11 21:04:39 +00:00
ObjectYAML [macho2yaml] Don't write empty linkedit data 2016-08-17 21:46:04 +00:00
Option Generalize ArgList::AddAllArgs more 2016-09-29 19:47:58 +00:00
Passes Fix test after renaming -name-anon-functions pass to -name-anon-globals 2016-09-16 17:18:16 +00:00
ProfileData [Coverage] Factor out logic to create FunctionRecords (NFC) 2016-10-12 22:27:45 +00:00
Support Do not delete leading ../ in remove_dots. 2016-10-13 15:07:14 +00:00
TableGen Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. 2016-08-23 17:14:32 +00:00
Target Fix for PR30687. Avoid dereferencing MBB.end(). 2016-10-13 15:48:48 +00:00
Transforms [LV] Account for predicated stores in instruction costs 2016-10-13 14:54:31 +00:00
CMakeLists.txt Try to fix a circular dependency in the modules build. 2016-09-06 20:16:19 +00:00
LLVMBuild.txt Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00