[llvm] [bolt] Support arm64 FP register spills (PR #73021)

Vladislav Khmelevsky via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 05:56:20 PST 2023


================
@@ -314,6 +314,11 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
 
   bool isRegToRegMove(const MCInst &Inst, MCPhysReg &From,
                       MCPhysReg &To) const override {
+    if (Inst.getOpcode() == AArch64::FMOVDXr) {
+      From = Inst.getOperand(1).getReg();
+      To = Inst.getOperand(0).getReg();
+      return true;
+    }
----------------
yota9 wrote:

new line please after }

https://github.com/llvm/llvm-project/pull/73021


More information about the llvm-commits mailing list