[all-commits] [llvm/llvm-project] bad603: [ARM][LowOverheadLoops] Change predicate inspection

Sam Parker via All-commits all-commits at lists.llvm.org
Tue Jan 14 03:47:52 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bad6032bc15fa8d16b67b86ef2b2fe48724e756e
      https://github.com/llvm/llvm-project/commit/bad6032bc15fa8d16b67b86ef2b2fe48724e756e
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
    A llvm/test/CodeGen/Thumb2/LowOverheadLoops/vmaxmin_vpred_r.mir

  Log Message:
  -----------
  [ARM][LowOverheadLoops] Change predicate inspection

Use the already provided helper function to get the operand type so
that we can detect whether the vpr is being used as a predicate or
not. Also use existing helpers to get the predicate indices when we
converting the vpt blocks. This enables us to support both types of
vpr predicate operand.

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




More information about the All-commits mailing list