[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 00:26:18 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:

If arm accepts scheduling with frame setup and destory, why can't for X86?

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


More information about the llvm-commits mailing list