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

Simon Tatham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 02:41:45 PST 2019


simon_tatham added a comment.

I'm sorry, I'm not sure I understand that question.

`!setop` affects the //operator// of a dag value, not the //operands//. The `:$name` suffix can only be applied to an operand. So `!setop` leaves all the operand names completely alone, since the part of the dag value it's replacing is nothing to do with them.

(Perhaps `!setop` is a bad name, for that reason, since it could very easily mean either 'operator' or 'operand'...)


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