[PATCH] D70365: intrinsics attribute opt-out list proposal.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 17 21:08:20 PST 2019


arsenm added inline comments.


================
Comment at: llvm/utils/TableGen/CodeGenTarget.cpp:754-755
+  // Parse the opt-out intrinsic properties.
+  ListInit *OptOutPropList = R->getValueAsListInit("OptOutIntrProperties");
+  for (unsigned i = 0, e = OptOutPropList->size(); i != e; ++i) {
+    Record *Property = OptOutPropList->getElementAsRecord(i);
----------------
I think you could avoid touching tablegen by implementing a filter in the tablegen source


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70365/new/

https://reviews.llvm.org/D70365





More information about the llvm-commits mailing list