Go to file
James Molloy e656642295 [SimplifyCFG] Improve FoldValueComparisonIntoPredecessors to handle more cases
A very important case is not handled here: multiple arcs to a single block with a PHI. Consider:

    a:
      %1 = icmp %b, 1
      br %1, label %c, label %e
    c:
      %2 = icmp %b, 2
      br %2, label %d, label %e
    d:
      br %e
    e:
      phi [0, %a], [1, %c], [2, %d]

FoldValueComparisonIntoPredecessors will refuse to fold this, as it doesn't know how to deal with two arcs to a common destination with different PHI values. The answer is obvious - just split all conflicting arcs.

llvm-svn: 280338
2016-09-01 07:45:25 +00:00
clang Remove whitespace to test commit access 2016-09-01 06:14:45 +00:00
clang-tools-extra [clang-tidy docs] Add missing option docs. 2016-08-31 13:21:18 +00:00
compiler-rt Fix the use of unitialized value while reporting double free in ASAN. 2016-08-31 23:42:27 +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 configure.py: Add polaris10 and polaris11 2016-08-30 18:00:41 +00:00
libcxx Fix libc++ configuration with -fsanitize-coverage 2016-09-01 01:38:32 +00:00
libcxxabi libc++abi: fix some -Wunused-function warnings 2016-08-31 20:29:05 +00:00
libunwind consistently add \n to log and trace messages 2016-08-30 15:38:10 +00:00
lld Fix the implementation of R_386_GOTPC and R_386_GOTOFF. 2016-08-31 23:24:11 +00:00
lldb There exists at least one compiler on one platform that doesn't know how to assert on a std::shared_ptr<> 2016-09-01 00:32:53 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm [SimplifyCFG] Improve FoldValueComparisonIntoPredecessors to handle more cases 2016-09-01 07:45:25 +00:00
openmp Appease older gcc compilers for the many-microtask-args.c test 2016-08-30 19:28:58 +00:00
parallel-libs [StreamExecutor] getOrDie and dieIfError utils 2016-08-31 23:30:41 +00:00
polly Add forgotten image 2016-08-30 12:41:29 +00:00