[PATCH] D95874: [TableGen] Temporary hack to add type checking for multiclass template arguments [DO NOT COMMIT]

Paul C. Anagnostopoulos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 06:49:58 PST 2021


Paul-C-Anagnostopoulos added a comment.

Sorry, I still don't understand. In the case of the MSP430, the 'arith' multiclass template argument 'node' needed to be generalized from type SDNode to type SDPatternOperator. This is because some of the uses of 'arith' pass a value that is not an SDNode, but some other subclass of SDPatternOperator. What warning message do you want to see here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95874



More information about the llvm-commits mailing list