[PATCH] D34341: [TableGen] Fix bug in TableGen CodeGenPatterns when adding variants of the patterns.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 19 10:20:32 PDT 2017


craig.topper added a comment.

Can we use add a move constructor to PatternToMatch, and use push_back(PatternToMatch(PatternsToMatch[i].getSrcRecord(), ....)? That's the right way to fix this I believe.


https://reviews.llvm.org/D34341





More information about the llvm-commits mailing list