[all-commits] [llvm/llvm-project] 258e2e: [ARM] Ensure loop invariant active.lane.mask operands

David Green via All-commits all-commits at lists.llvm.org
Mon Apr 26 02:05:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 258e2e9a0bdc1e0b0ade99a27de4190010cbee78
      https://github.com/llvm/llvm-project/commit/258e2e9a0bdc1e0b0ade99a27de4190010cbee78
  Author: David Green <david.green at arm.com>
  Date:   2021-04-26 (Mon, 26 Apr 2021)

  Changed paths:
    M llvm/lib/Target/ARM/MVETailPredication.cpp
    A llvm/test/CodeGen/Thumb2/mve-tailpred-loopinvariant.ll

  Log Message:
  -----------
  [ARM] Ensure loop invariant active.lane.mask operands

CGP can move instructions like a ptrtoint into a loop, but the
MVETailPredication when converting them will currently assume invariant
trip counts. This tries to ensure the operands are loop invariant, and
bails if not.

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




More information about the All-commits mailing list