Go to file
Michael Kruse eedae7630a Introduce VirtualUse. NFC.
If a ScopStmt references a (scalar) value, there are multiple
possibilities where this value can come. The decision about what kind of
use it is must be handled consistently at different places, which can be
error-prone. VirtualUse is meant to centralize the handling of the
different types of value uses.

This patch makes ScopBuilder and CodeGeneration use VirtualUse. This
already helps to show inconsistencies with the value handling. In order
to keep this patch NFC, exceptions to the general rules are added.
These might be fixed later if they turn to problems. Overall, this
should result in fewer post-codegen IR-verification errors, but instead
assertion failures in `getNewValue` that are closer to the actual error.

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

llvm-svn: 302157
2017-05-04 15:22:57 +00:00
clang clang-format: [JS] exponentiation operator 2017-05-04 15:04:04 +00:00
clang-tools-extra [clang-move] Find template class forward declarations more precisely. 2017-05-02 12:15:11 +00:00
compiler-rt [ASAN] Add interceptor for __longjmp_chk 2017-05-04 14:03:57 +00:00
debuginfo-tests Add additional CHECKs to safestack.c. 2017-04-17 17:57:05 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Fix incorrect usage of __libcpp_mutex_trylock. Patch from Andrey Khalyavin 2017-05-04 07:45:09 +00:00
libcxxabi [libcxxabi][CMake] Set library dir when built under runtimes/ 2017-05-04 06:04:49 +00:00
libunwind [CMake][libunwind] Fix the -target and -gcc-toolchain flag handling 2017-04-16 06:08:44 +00:00
lld Reduce code duplication. NFC. 2017-05-04 14:54:48 +00:00
lldb [LLDB][MIPS] Fix TestStepOverBreakpoint.py failure. 2017-05-04 11:34:42 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [globalisel][tablegen] Add several GINodeEquiv's for operators that do not require additional support. 2017-05-04 14:24:50 +00:00
openmp [OpenMP] libomptarget: test correction for use with OpenMP 4.5 2017-04-27 18:54:00 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Introduce VirtualUse. NFC. 2017-05-04 15:22:57 +00:00