[llvm] [TII][X86] Do not schedule frame-setup/frame-destory instructions (PR #96611)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 26 01:01:03 PDT 2024
================
@@ -8832,6 +8832,11 @@ bool X86InstrInfo::isSchedulingBoundary(const MachineInstr &MI,
Opcode == X86::PLDTILECFGV)
return true;
+ // Frame setup and destory can't be scheduled around.
+ if (MI.getFlag(MachineInstr::FrameSetup) ||
+ MI.getFlag(MachineInstr::FrameDestroy))
----------------
phoebewang wrote:
I can't see the reason from the log, but I'm good with this change as long as no performance regression for X86.
https://github.com/llvm/llvm-project/pull/96611
More information about the llvm-commits
mailing list