[PATCH] D20379: Codegen: Fix broken assumption in Tail Merge.

Kyle Butt via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 11:41:30 PDT 2016


iteratee created this revision.
iteratee added reviewers: mcrosier, reames.
iteratee added subscribers: llvm-commits, sunfish.
iteratee set the repository for this revision to rL LLVM.
Herald added subscribers: dsanders, jyknight.

Tail merge was making the assumption that a layout successor or
predecessor was always a cfg successor/predecessor. Remove that
assumption. Changes to tests are necessary because the errant cfg edges
were preventing optimizations.


Repository:
  rL LLVM

http://reviews.llvm.org/D20379

Files:
  lib/CodeGen/BranchFolding.cpp
  test/CodeGen/ARM/call-tc.ll
  test/CodeGen/ARM/test-sharedidx.ll
  test/CodeGen/Hexagon/always-ext.ll
  test/CodeGen/Mips/eh.ll
  test/CodeGen/SPARC/missinglabel.ll
  test/CodeGen/Thumb2/thumb2-cbnz.ll
  test/CodeGen/Thumb2/thumb2-ifcvt3.ll
  test/CodeGen/X86/br-fold.ll
  test/CodeGen/X86/catchret-regmask.ll
  test/CodeGen/X86/fp-une-cmp.ll
  test/CodeGen/X86/implicit-null-check.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20379.57652.patch
Type: text/x-patch
Size: 7589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160518/63786431/attachment.bin>


More information about the llvm-commits mailing list