[llvm] [TII][X86] Do not schedule frame-setup/frame-destory instructions (PR #96611)
Haohai Wen via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 23:17:00 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))
----------------
HaohaiWen wrote:
Lots of arm tests would fail.
https://github.com/llvm/llvm-project/pull/96611
More information about the llvm-commits
mailing list