[PATCH] D94780: [ARM][Block placement] Check the predecessor exists before processing it

Sam Tebbs via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 07:03:19 PST 2021


samtebbs created this revision.
samtebbs added reviewers: dmgreen, SjoerdMeijer, samparker.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
samtebbs requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Not all machine loops will have a predecessor. so the pass needs to
check it before continuing.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94780

Files:
  llvm/lib/Target/ARM/ARMBlockPlacement.cpp
  llvm/test/CodeGen/Thumb2/block-placement.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94780.316941.patch
Type: text/x-patch
Size: 5373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210115/33cfbcbc/attachment.bin>


More information about the llvm-commits mailing list