[all-commits] [llvm/llvm-project] 2c5321: [ARM] Skip debug info in recomputeVPTBlockMask

David Green via All-commits all-commits at lists.llvm.org
Tue Sep 28 06:58:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c53215e99cbd7b24768d9f0915aff9fedfcaa4a
      https://github.com/llvm/llvm-project/commit/2c53215e99cbd7b24768d9f0915aff9fedfcaa4a
  Author: David Green <david.green at arm.com>
  Date:   2021-09-28 (Tue, 28 Sep 2021)

  Changed paths:
    M llvm/lib/Target/ARM/Thumb2InstrInfo.cpp
    A llvm/test/CodeGen/Thumb2/LowOverheadLoops/vpt-block-debug.mir

  Log Message:
  -----------
  [ARM] Skip debug info in recomputeVPTBlockMask

The ARMLowOverheadLoops pass recalculates VPT block masks when it
converts VCMP's inside VPT blocks into VPT's. The function to do so
doesn't seem to handle debug info though, leading to invalid block
creation or asserts at compile time. Make sure the function skips any
debug info between the MVE instructions it inspects.

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




More information about the All-commits mailing list