Commit 63a344ab authored by baptiste.afsa's avatar baptiste.afsa Committed by Commit bot

[turbofan] Track floating-point registers live at function entry in instruction scheduler.

This patch make sure that the nop instructions used to mark floating-point
arguments live range begin will not be moved by the scheduler.

R=jarin@chromium.org

Review URL: https://codereview.chromium.org/1896933004

Cr-Commit-Position: refs/heads/master@{#35751}
parent 098ff935
......@@ -180,7 +180,9 @@ class InstructionScheduler final : public ZoneObject {
return (instr->arch_opcode() == kArchNop) &&
(instr->OutputCount() == 1) &&
(instr->OutputAt(0)->IsUnallocated()) &&
UnallocatedOperand::cast(instr->OutputAt(0))->HasFixedRegisterPolicy();
(UnallocatedOperand::cast(instr->OutputAt(0))->HasFixedRegisterPolicy() ||
UnallocatedOperand::cast(
instr->OutputAt(0))->HasFixedDoubleRegisterPolicy());
}
void ComputeTotalLatencies();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment