[PATCH] D53851: [AArch64] [Windows] SEH opcodes should be scheduling boundaries.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 29 17:39:08 PDT 2018


efriedma created this revision.
efriedma added reviewers: ssijaric, rnk, mstorsjo, thegameg.
Herald added subscribers: kristof.beyls, javed.absar.

Prevents the post-RA scheduler from modifying the prologue sequences emitting by frame lowering.  This is roughly similar to what we do for other targets: TargetInstrInfo::isSchedulingBoundary checks isPosition(), which checks for CFI_INSTRUCTION.

isSEHInstruction is taken from https://reviews.llvm.org/D50288; it'll land with whatever patch lands first.


Repository:
  rL LLVM

https://reviews.llvm.org/D53851

Files:
  lib/Target/AArch64/AArch64InstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.h
  test/CodeGen/AArch64/wineh1.mir
  test/CodeGen/AArch64/wineh2.mir
  test/CodeGen/AArch64/wineh3.mir
  test/CodeGen/AArch64/wineh4.mir
  test/CodeGen/AArch64/wineh5.mir
  test/CodeGen/AArch64/wineh6.mir
  test/CodeGen/AArch64/wineh7.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53851.171614.patch
Type: text/x-patch
Size: 6564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181030/c83ead26/attachment.bin>


More information about the llvm-commits mailing list