[PATCH] D145873: Let IntrinsicEnums.inc conditional by GET_INTRINSIC_ENUM_VALUES

NAKAMURA Takumi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 12 07:47:50 PDT 2023


chapuni created this revision.
Herald added a project: All.
chapuni requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

Move definitions of ArgKind from Intrinsics.h to Intrinsics.td

Values of ArgKind are used (as naked constants) also in IntrinsicEmitter.
They can be dissolved to move their logic to Intrinsics.td.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145873

Files:
  llvm/include/llvm/IR/Intrinsics.h
  llvm/include/llvm/IR/Intrinsics.td
  llvm/utils/TableGen/IntrinsicEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145873.504437.patch
Type: text/x-patch
Size: 3715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230312/2cb31699/attachment.bin>


More information about the llvm-commits mailing list