[llvm] SystemZ: Handle gr128 to fp128 copies in copyPhysReg (PR #90861)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 2 07:56:43 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff d6173167df31388869d22751fdd745f5da928ef7 00eff166b92452cf00d1f3bd2432d999db216074 -- llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp b/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
index f4e521c824..8176eba74b 100644
--- a/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
@@ -864,11 +864,11 @@ void SystemZInstrInfo::copyPhysReg(MachineBasicBlock &MBB,
MCRegister SrcRegLo = RI.getSubReg(SrcReg, SystemZ::subreg_l64);
BuildMI(MBB, MBBI, DL, get(SystemZ::LDGR), DestRegHi)
- .addReg(SrcRegHi)
- .addReg(DestReg, RegState::ImplicitDefine);
+ .addReg(SrcRegHi)
+ .addReg(DestReg, RegState::ImplicitDefine);
BuildMI(MBB, MBBI, DL, get(SystemZ::LDGR), DestRegLo)
- .addReg(SrcRegLo, getKillRegState(KillSrc));
+ .addReg(SrcRegLo, getKillRegState(KillSrc));
return;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/90861
More information about the llvm-commits
mailing list