[all-commits] [llvm/llvm-project] dad848: [Target][ARM] Change VPTMaskValues to the correct ...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Wed Apr 1 04:34:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dad848280d3b740524803595d463510e1090ab59
      https://github.com/llvm/llvm-project/commit/dad848280d3b740524803595d463510e1090ab59
  Author: Pierre-vh <pierre.vanhoutryve at arm.com>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.h
    M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
    M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
    M llvm/lib/Target/ARM/Utils/ARMBaseInfo.h

  Log Message:
  -----------
  [Target][ARM] Change VPTMaskValues to the correct encoding

VPTMaskValue was using the "instruction" encoding to represent the masks
(= the same encoding as the one used by the instructions in an object file),
but it is only used to build MCOperands, so it should use the MCOperand
encoding of the masks, which is slightly different.

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


  Commit: 2effe8f5e72ac94286445c0fdfd2cad6999f4cb4
      https://github.com/llvm/llvm-project/commit/2effe8f5e72ac94286445c0fdfd2cad6999f4cb4
  Author: Pierre-vh <pierre.vanhoutryve at arm.com>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

  Changed paths:
    M llvm/lib/Target/ARM/MVEVPTBlockPass.cpp
    M llvm/lib/Target/ARM/Thumb2InstrInfo.h
    M llvm/test/CodeGen/Thumb2/mve-pred-not.ll
    M llvm/test/CodeGen/Thumb2/mve-pred-threshold.ll
    M llvm/test/CodeGen/Thumb2/mve-vpt-3-blocks-kill-vpr.mir
    A llvm/test/CodeGen/Thumb2/mve-vpt-block-elses.mir
    M llvm/test/CodeGen/Thumb2/mve-vpt-nots.mir

  Log Message:
  -----------
  [Target][ARM] Improvements to the VPT Block Insertion Pass

This allows the MVE VPT Block insertion pass to remove VPNOTs in
order to create more complex VPT blocks such as TE, TEET, TETE, etc.

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


Compare: https://github.com/llvm/llvm-project/compare/c9d15880542e...2effe8f5e72a


More information about the All-commits mailing list