[PATCH] D71191: [TableGen] Add bang-operators !getop and !setop.

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 03:44:44 PST 2019


nhaehnle added a comment.

The name suffix _can_ be applied to the operator:

  def op;
  def Foo {
    dag x = (op:$blah 1:$foo, 2, 3);
  }
  // produces:
  ------------- Defs -----------------
  def Foo {
    dag x = (op:blah 1:$foo, 2, 3);
  }
  def op {
  }

Though the inconsistent output and undocumented nature of it suggests that this feature is hardly ever used...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71191





More information about the llvm-commits mailing list