[PATCH] D114144: [VP] Canonicalize macros of VPIntrinsics.def

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 18 00:28:30 PST 2021


simoll created this revision.
simoll added reviewers: frasercrmck, craig.topper, rogfer01.
simoll added a project: VP.
Herald added subscribers: dexonsmith, hiraditya.
simoll requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114144

Files:
  llvm/include/llvm/IR/VPIntrinsics.def
  llvm/lib/IR/IntrinsicInst.cpp
  llvm/unittests/IR/VPIntrinsicTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114144.388120.patch
Type: text/x-patch
Size: 16023 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211118/44ac8b72/attachment.bin>


More information about the llvm-commits mailing list