Go to file
Max Kazantsev a13e163a27 [RewriteStatepoints] Fix incorrect assertion
`RewriteStatepointsForGC` iterates over function blocks and their predecessors
in order of declaration. One of outcomes of this is that callsites are placed in
arbitrary order which has nothing to do with travelsar order.

On the other hand, function `recomputeLiveInValues` asserts that bases are
added to `Info.PointerToBase` before their deried pointers are updated. But
if call sites are processed in order different from RPOT, this is not necessarily
true. We cannot guarantee that the base was placed there before every
pointer derived from it. All we can guarantee is that this base was marked as
known base by this point.

This patch replaces the fact that we assert from checking that the base was
added to the map with assert that the base was marked as known base.

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

llvm-svn: 321517
2017-12-28 12:03:12 +00:00
clang [X86] Don't accidentally enable PKU on cannon lake and icelake or CLWB on cannonlake. 2017-12-27 22:26:01 +00:00
clang-tools-extra [clangd] Use Builder for symbol slabs, and use sorted-vector for storage 2017-12-23 19:38:03 +00:00
compiler-rt [XRay] Add missing include to unit test 2017-12-27 10:39:02 +00:00
debuginfo-tests [debuginfo-tests] Support moving debuginfo-tests to llvm/projects 2017-12-12 16:54:20 +00:00
libclc configure.py: Add gfx900 (Vega, Raven) 2017-11-27 11:14:06 +00:00
libcxx [libcxx] Suppress unused warning on apple. 2017-12-25 05:33:42 +00:00
libcxxabi [libcxxabi] Pass LIBCXXABI_SYSROOT and LIBCXXABI_GCC_TOOLCHAIN to lit 2017-12-12 01:20:37 +00:00
libunwind There is no portable format string for printing `uintptr_t` values. 2017-12-27 05:46:53 +00:00
lld Do not parse the same /export string more than once. 2017-12-28 07:41:19 +00:00
lldb Remove duplicate declaration from D41550; NFC 2017-12-28 07:48:10 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [RewriteStatepoints] Fix incorrect assertion 2017-12-28 12:03:12 +00:00
openmp Unify build documentation and convert to reStructuredText 2017-12-27 09:15:10 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [CodeGen] Fix noalias annotations for memcpy/memmove. 2017-12-22 17:44:53 +00:00
README.md Add an svn project to contain the files that appear at the root of the 2017-10-19 21:09:49 +00:00

README.md

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.