Go to file
Jingyue Wu ec33fa9aca [SROA] Fold a PHI node if all its incoming values are the same
Summary:
Fixes PR20425.

During slice building, if all of the incoming values of a PHI node are the same, replace the PHI node with the common value. This simplification makes alloca's used by PHI nodes easier to promote.

Test Plan: Added three more tests in phi-and-select.ll

Reviewers: nlewycky, eliben, meheff, chandlerc

Reviewed By: chandlerc

Subscribers: zinovy.nis, hfinkel, baldrick, llvm-commits

Differential Revision: http://reviews.llvm.org/D4659

llvm-svn: 216299
2014-08-22 22:45:57 +00:00
clang DebugInfo: Test that the loop backedge in a range-for is attribute to the loop header. 2014-08-22 22:29:50 +00:00
clang-tools-extra [clang-tidy] Allow /**/ comments on #endifs when checking header guards. 2014-08-20 16:01:42 +00:00
compiler-rt [UBSan] Add support for printing backtraces to all UBSan handlers 2014-08-22 21:42:04 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Include llvm-config.h instead of config.h 2014-08-22 22:24:28 +00:00
libcxx Refactor lit.cfg. 2014-08-21 17:30:44 +00:00
libcxxabi Add baremetal ARM support to libcxxabi/libunwind 2014-08-21 18:42:36 +00:00
lld [PECOFF] Explicitly pass machine type 2014-08-22 22:03:16 +00:00
lldb Fix a CMake error when using CMake 3.0.1 2014-08-22 20:44:55 +00:00
llvm [SROA] Fold a PHI node if all its incoming values are the same 2014-08-22 22:45:57 +00:00
openmp Commit PowerPC64 support from Carlo Bertolli at IBM. 2014-08-07 10:12:54 +00:00
polly [Fix] isl usage errors in ScheduleOptimizer 2014-08-20 17:15:34 +00:00