[all-commits] [llvm/llvm-project] 43bc58: [VP, Integer, #2] ExpandVectorPredication pass

Simon Moll via All-commits all-commits at lists.llvm.org
Fri Apr 30 06:48:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43bc584dc05e24c6d44ece8e07d4bff585adaf6d
      https://github.com/llvm/llvm-project/commit/43bc584dc05e24c6d44ece8e07d4bff585adaf6d
  Author: Simon Moll <simon.moll at emea.nec.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    A llvm/include/llvm/CodeGen/ExpandVectorPredication.h
    M llvm/include/llvm/CodeGen/MachinePassRegistry.def
    M llvm/include/llvm/CodeGen/Passes.h
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/LinkAllPasses.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/CodeGen/CMakeLists.txt
    A llvm/lib/CodeGen/ExpandVectorPredication.cpp
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/lib/IR/IntrinsicInst.cpp
    M llvm/test/CodeGen/AArch64/O0-pipeline.ll
    M llvm/test/CodeGen/AArch64/O3-pipeline.ll
    M llvm/test/CodeGen/ARM/O3-pipeline.ll
    A llvm/test/CodeGen/Generic/expand-vp.ll
    M llvm/test/CodeGen/X86/O0-pipeline.ll
    M llvm/test/CodeGen/X86/opt-pipeline.ll
    M llvm/tools/llc/llc.cpp
    M llvm/tools/opt/opt.cpp

  Log Message:
  -----------
  [VP,Integer,#2] ExpandVectorPredication pass

This patch implements expansion of llvm.vp.* intrinsics
(https://llvm.org/docs/LangRef.html#vector-predication-intrinsics).

VP expansion is required for targets that do not implement VP code
generation. Since expansion is controllable with TTI, targets can switch
on the VP intrinsics they do support in their backend offering a smooth
transition strategy for VP code generation (VE, RISC-V V, ARM SVE,
AVX512, ..).

Reviewed By: rogfer01

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


  Commit: 7a8664561116cd3c1ce2e66826c479649ae741b9
      https://github.com/llvm/llvm-project/commit/7a8664561116cd3c1ce2e66826c479649ae741b9
  Author: Simon Moll <simon.moll at emea.nec.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M llvm/lib/Target/VE/VETargetTransformInfo.h

  Log Message:
  -----------
  [VE] VP intrinsics are legal


Compare: https://github.com/llvm/llvm-project/compare/181c492ee72c...7a8664561116


More information about the All-commits mailing list