Author: Jonas Paulsson Date: 2021-11-10T09:52:13-08:00 New Revision: 9dc7d6d5e3261f2cb1ae746ddaaf2f4d4f1f5350
URL: https://github.com/llvm/llvm-project/commit/9dc7d6d5e3261f2cb1ae746ddaaf2f4d4f1f5350 DIFF: https://github.com/llvm/llvm-project/commit/9dc7d6d5e3261f2cb1ae746ddaaf2f4d4f1f5350.diff LOG: [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 (cherry picked from commit 12b44bf5ee3eee46062b5f8f208be20edd0b3e06) Added: Modified: llvm/lib/Target/SystemZ/SystemZInstrInfo.td Removed: ################################################################################ diff --git a/llvm/lib/Target/SystemZ/SystemZInstrInfo.td b/llvm/lib/Target/SystemZ/SystemZInstrInfo.td index 7df7cc93d6eb1..53495489cef8e 100644 --- a/llvm/lib/Target/SystemZ/SystemZInstrInfo.td +++ b/llvm/lib/Target/SystemZ/SystemZInstrInfo.td @@ -2173,7 +2173,7 @@ let hasSideEffects = 1 in { def EX : SideEffectBinaryRX<"ex", 0x44, ADDR64>; def EXRL : SideEffectBinaryRILPC<"exrl", 0xC60, ADDR64>; let hasNoSchedulingInfo = 1 in - def EXRL_Pseudo : Pseudo<(outs), (ins i64imm:$TargetOpc, ADDR64:$lenMinus1, + def EXRL_Pseudo : Alias<6, (outs), (ins i64imm:$TargetOpc, ADDR64:$lenMinus1, bdaddr12only:$bdl1, bdaddr12only:$bd2), []>; } _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits