[SystemZ] Support conditional sibling calls via BRCL
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 8 Apr 2016 17:22:19 +0000 (17:22 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 8 Apr 2016 17:22:19 +0000 (17:22 +0000)
commitfa2dffbc1a698fac500ec27d0589a26a54d8c2df
tree81f240dd3039276aec8467a6004de3f1a2f8305e
parent2f7ec9134dfb7aff961d633b6a73e3fb1f4da655
[SystemZ] Support conditional sibling calls via BRCL

This adds a conditional variant of CallJG instruction, CallBRCL.
It can be used for conditional sibling calls. Unfortunately, due
to IfCvt limitations, it only really works well for functions without
arguments.

Author: koriakin
Differential Revision: http://reviews.llvm.org/D18864

llvm-svn: 265814
llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
llvm/lib/Target/SystemZ/SystemZInstrInfo.td
llvm/test/CodeGen/SystemZ/call-04.ll [new file with mode: 0644]