1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

[SystemZ] Remove incorrect CC use for C*BReturn instructions

These are fused compare-and-branches, so they obviously don't use CC.

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

llvm-svn: 265932
This commit is contained in:
Ulrich Weigand 2016-04-11 12:03:30 +00:00
parent 543762a4a3
commit 8f03ec0d11

View File

@ -41,7 +41,7 @@ let isReturn = 1, isTerminator = 1, hasCtrlDep = 1, CCMaskFirst = 1, Uses = [CC]
def CondReturn : Alias<2, (outs), (ins cond4:$valid, cond4:$R1), []>;
// Fused compare and conditional returns.
let isReturn = 1, isTerminator = 1, hasCtrlDep = 1, Uses = [CC] in {
let isReturn = 1, isTerminator = 1, hasCtrlDep = 1 in {
def CRBReturn : Alias<6, (outs), (ins GR32:$R1, GR32:$R2, cond4:$M3), []>;
def CGRBReturn : Alias<6, (outs), (ins GR64:$R1, GR64:$R2, cond4:$M3), []>;
def CIBReturn : Alias<6, (outs), (ins GR32:$R1, imm32sx8:$I2, cond4:$M3), []>;