[PATCH] During PHI elimination, split critical edges that move copies out of loops

Daniel Jasper djasper at google.com
Mon Mar 2 16:38:09 PST 2015


I have hidden the new behavior behind a flag and added a test.

With the flag enabled by default, these four tests break:

  LLVM :: CodeGen/Hexagon/hwloop-cleanup.ll

triggers an assertion.

  LLVM :: CodeGen/X86/coalescer-commute4.ll
  LLVM :: CodeGen/X86/phys_subreg_coalesce-2.ll
  LLVM :: CodeGen/X86/zlib-longest-match.ll

generate worse code. Likely these need to be solved by improving the register allocator.


http://reviews.llvm.org/D8016

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list