We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd0b7a8 commit cb22fa4Copy full SHA for cb22fa4
crates/codegen/src/target/x64.rs
@@ -477,11 +477,13 @@ impl MachineRegalloc for X64Machine {
477
X64Instr::MovRmS32(..)
478
| X64Instr::MovRU32(..)
479
| X64Instr::FuncAddrRel(..)
480
- | X64Instr::StackAddr(..) => Some(RematCost::CheapAsCopy),
+ | X64Instr::StackAddr(..)
481
+ | X64Instr::SseMovRZ => Some(RematCost::CheapAsCopy),
482
X64Instr::MovRI64(..)
483
| X64Instr::FuncAddrAbs(..)
484
| X64Instr::MovRRbp { .. }
- | X64Instr::MovsdRRbp { .. } => Some(RematCost::CheapAsLoad),
485
+ | X64Instr::MovsdRRbp { .. }
486
+ | X64Instr::MovsdConstRel(..) => Some(RematCost::CheapAsLoad),
487
_ => None,
488
}
489
0 commit comments