[all-commits] [llvm/llvm-project] 1a497a: [ARM][Block placement] Check the predecessor exist...

Sam Tebbs via All-commits all-commits at lists.llvm.org
Fri Jan 15 07:49:37 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a497ae9b83653682d6d20f1ec131394e523375d
      https://github.com/llvm/llvm-project/commit/1a497ae9b83653682d6d20f1ec131394e523375d
  Author: Sam Tebbs <samuel.tebbs at arm.com>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

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

  Log Message:
  -----------
  [ARM][Block placement] Check the predecessor exists before processing it

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

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D94780




More information about the All-commits mailing list