[llvm] [X86] Fix spill issue for fr16 (PR #155225)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 25 19:24:38 PDT 2025


================
@@ -6131,6 +6126,25 @@ static bool expandSHXDROT(MachineInstrBuilder &MIB, const MCInstrDesc &Desc) {
   return true;
 }
 
+static bool expandMOVSHP(MachineInstrBuilder &MIB, MachineInstr &MI,
+                         const TargetInstrInfo &TII) {
+  unsigned NewOpc;
+  if (MI.getOpcode() == X86::MOVSHPrm) {
+    NewOpc = X86::MOVSSrm;
----------------
LuoYuanke wrote:

Fixed

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


More information about the llvm-commits mailing list