Go to file
Sergey Dmitrouk 3160d02b5b Erase constant dbgloc on reuse in PHI node
Basic block selection involves checking successor BBs for PHI nodes
that depend on the current BB.  In case such BBs are found, the value
being selected is a constant and such constant already exists in
current BB, it's value is reused.

This might lead to wrong locations in some situations, especially if
same constant value ends up being materialized twice in two different
ways, which discards that sharing and leaves us with wrong debug
location in the successor BB.

In code this involves the following sequence of calls:

 SelectionDAGBuilder::HandlePHINodesInSuccessorBlocks ->
 SelectionDAGBuilder::CopyValueToVirtualRegister ->
 SelectionDAGBuilder::getNonRegisterValue

llvm-svn: 239089
2015-06-04 20:48:40 +00:00
clang [PowerPC] This revision adds 68 of the missing "Predefined Functions for Vector Programming" from appendix A of the OpenPOWER ABI for Linux Supplement document. 2015-06-04 18:45:44 +00:00
clang-tools-extra [clang-tidy] Force braces around leaf 'else if' for consistency. 2015-06-04 16:36:58 +00:00
compiler-rt [tsan] Disable a flaky test. 2015-06-04 18:28:35 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Use a more accurate implementation for exp 2015-05-13 03:55:09 +00:00
libcxx While applying N4258, I forgot about LWG#2455, which modified the modifications. Correct those - h/t: Howard 2015-06-04 02:05:41 +00:00
libcxxabi fallback_malloc: silence conversion warning (NFC) 2015-06-03 17:25:35 +00:00
libunwind Code cleanup: Reindent statements. 2015-05-30 14:00:39 +00:00
lld COFF: Add /failifmismatch option. 2015-06-04 19:21:24 +00:00
lldb Fix doxygen warnings. 2015-06-04 16:53:46 +00:00
llgo [llgo] cmd/llgoi: use line editor 2015-05-23 15:16:09 +00:00
llvm Erase constant dbgloc on reuse in PHI node 2015-06-04 20:48:40 +00:00
openmp Fix some sign compare warnings. 2015-06-04 17:29:13 +00:00
polly Use owning pointers to avoid memory leaks 2015-06-04 17:59:54 +00:00