[PATCH] D71350: [MachineScheduler] Reorder cfi to avoid PostRA scheduling differences

Chris Ye via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 06:02:48 PST 2019


yechunliang created this revision.
yechunliang added reviewers: Orlando, dtell, jmorse, probinson, gberry.
Herald added subscribers: llvm-commits, javed.absar, hiraditya, MatzeB.
Herald added a project: LLVM.

As cfi_instruction is defined as sched boundary, it will split ScheduleRegion, this will make CodeGen different with and without cfi_instructions (with/without --strip-debug). Moving cfi_instruction to RegionEnd and set it as RegionEnd to avoid breaking scheduler Regions.


https://reviews.llvm.org/D71350

Files:
  llvm/lib/CodeGen/MachineScheduler.cpp
  llvm/test/CodeGen/AArch64/machine-scheduler-with-cfi-instruction.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71350.233338.patch
Type: text/x-patch
Size: 5300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191211/427ab7bb/attachment.bin>


More information about the llvm-commits mailing list