[llvm] r294348 - [X86] Disable conditional tail calls (PR31257)

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 09:03:04 PST 2017


Merged to 4.0 in r294476.

On Tue, Feb 7, 2017 at 12:37 PM, Hans Wennborg via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: hans
> Date: Tue Feb  7 14:37:45 2017
> New Revision: 294348
>
> URL: http://llvm.org/viewvc/llvm-project?rev=294348&view=rev
> Log:
> [X86] Disable conditional tail calls (PR31257)
>
> They are currently modelled incorrectly (as calls, which clobber
> registers, confusing e.g. Machine Copy Propagation).
>
> Reverting until we figure out the proper solution.
>
> Removed:
>     llvm/trunk/test/CodeGen/X86/conditional-tailcall.ll
>     llvm/trunk/test/CodeGen/X86/tail-call-conditional.mir
> Modified:
>     llvm/trunk/include/llvm/Target/TargetInstrInfo.h
>     llvm/trunk/lib/CodeGen/BranchFolding.cpp
>     llvm/trunk/lib/Target/X86/X86ExpandPseudo.cpp
>     llvm/trunk/lib/Target/X86/X86InstrControl.td
>     llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
>     llvm/trunk/lib/Target/X86/X86InstrInfo.h
>     llvm/trunk/lib/Target/X86/X86MCInstLower.cpp
>     llvm/trunk/test/CodeGen/X86/shrink-compare.ll


More information about the llvm-commits mailing list