Skip to content

Commit 12b44bf

Browse files
committed
[SystemZ] Give the EXRL_Pseudo a size value of 6 bytes.
This pseudo is expanded very late (AsmPrinter) and therefore has to have a correct size value, or the branch relaxation pass may make a wrong decision. Review: Ulrich Weigand
1 parent 7593f68 commit 12b44bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/SystemZ/SystemZInstrInfo.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2173,7 +2173,7 @@ let hasSideEffects = 1 in {
21732173
def EX : SideEffectBinaryRX<"ex", 0x44, ADDR64>;
21742174
def EXRL : SideEffectBinaryRILPC<"exrl", 0xC60, ADDR64>;
21752175
let hasNoSchedulingInfo = 1 in
2176-
def EXRL_Pseudo : Pseudo<(outs), (ins i64imm:$TargetOpc, ADDR64:$lenMinus1,
2176+
def EXRL_Pseudo : Alias<6, (outs), (ins i64imm:$TargetOpc, ADDR64:$lenMinus1,
21772177
bdaddr12only:$bdl1, bdaddr12only:$bd2),
21782178
[]>;
21792179
}

0 commit comments

Comments
 (0)