[PATCH] D24423: X86: Fold tail calls into conditional branches also for 64-bit (PR26302)

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 9 13:10:12 PDT 2016


hans created this revision.
hans added a reviewer: mkuper.
hans added a subscriber: llvm-commits.

This extends the optimization in r280832 to also work for 64-bit. The only
quirk is that we can't do this for 64-bit Windows (yet).

https://reviews.llvm.org/D24423

Files:
  lib/Target/X86/X86ExpandPseudo.cpp
  lib/Target/X86/X86InstrControl.td
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86MCInstLower.cpp
  test/CodeGen/X86/conditional-tailcall.ll
  test/CodeGen/X86/shrink-compare.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24423.70891.patch
Type: text/x-patch
Size: 7403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160909/bf7379ce/attachment.bin>


More information about the llvm-commits mailing list