[all-commits] [llvm/llvm-project] 351c10: [VE] Add +vpu attribute

Simon Moll via All-commits all-commits at lists.llvm.org
Wed Nov 4 03:42:38 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 351c10cc72143c6ff0b39ce94ddeb0d9f85d2e58
      https://github.com/llvm/llvm-project/commit/351c10cc72143c6ff0b39ce94ddeb0d9f85d2e58
  Author: Simon Moll <simon.moll at emea.nec.com>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M llvm/lib/Target/VE/VE.td
    M llvm/lib/Target/VE/VEISelLowering.cpp
    M llvm/lib/Target/VE/VEISelLowering.h
    M llvm/lib/Target/VE/VESubtarget.cpp
    M llvm/lib/Target/VE/VESubtarget.h
    M llvm/lib/Target/VE/VETargetTransformInfo.h
    A llvm/test/CodeGen/VE/Vector/feature_vpu.ll

  Log Message:
  -----------
  [VE] Add +vpu attribute

`+vpu` controls whether VEISelLowering adds any vregs.  This defaults to
`-vpu` to have scalar code generation out of the box.  We bring up
vector isel under the `+vpu` flag. Once vector isel is stable we switch
to `+vpu` and advertise vregs and vops in TTI.

Reviewed By: kaz7

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




More information about the All-commits mailing list