[PATCH] D96364: [TableGen] Add IntrNoMerge as intrinsic property

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 9 11:55:55 PST 2021


kparzysz created this revision.
kparzysz added reviewers: rnk, craig.topper.
kparzysz requested review of this revision.
Herald added a subscriber: jdoerfert.
Herald added a project: LLVM.

This is motivated by downstream changes, where merging of certain intrinsics should be avoided.  Because the intrinsics are out-of-tree, there is no LLVM codegen testcase, but a generic TableGen testcase is included.  This seems like a natural extension to the already existing intrinsic properties `IntrNoDuplicate` and `IntrConvergent`, and there is already a function attribute `NoMerge`, hence the upstream patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96364

Files:
  llvm/include/llvm/IR/Intrinsics.td
  llvm/test/TableGen/intrin-properties.td
  llvm/utils/TableGen/CodeGenIntrinsics.h
  llvm/utils/TableGen/CodeGenTarget.cpp
  llvm/utils/TableGen/IntrinsicEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96364.322461.patch
Type: text/x-patch
Size: 5856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210209/11464a45/attachment.bin>


More information about the llvm-commits mailing list