[all-commits] [llvm/llvm-project] 1e65b9: [VP] Canonicalize macros of VPIntrinsics.def

Simon Moll via All-commits all-commits at lists.llvm.org
Tue Nov 23 07:52:22 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e65b93f3ac9974672402111cf2e06bf0901dbc9
      https://github.com/llvm/llvm-project/commit/1e65b93f3ac9974672402111cf2e06bf0901dbc9
  Author: Simon Moll <simon.moll at emea.nec.com>
  Date:   2021-11-23 (Tue, 23 Nov 2021)

  Changed paths:
    M llvm/include/llvm/IR/VPIntrinsics.def
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/IR/IntrinsicInst.cpp
    M llvm/unittests/IR/VPIntrinsicTest.cpp

  Log Message:
  -----------
  [VP] Canonicalize macros of VPIntrinsics.def

Usage and naming of macros in VPIntrinsics.def has been inconsistent. Rename all property macros to VP_PROPERTY_<name>.  Use BEGIN/END scope macros to attach properties to vp intrinsics and SDNodes (instead of specifying either directly with the property macro).
A follow-up patch has documentation on how the macros are (intended) to be used.

Reviewed By: frasercrmck

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




More information about the All-commits mailing list