[PATCH] D52977: [RISCV] Introduce codegen patterns for instructions introduced in RV64I

Simon Cook via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 15 04:04:12 PDT 2018


simoncook added a comment.

I tried building this on top of trunk but my build failed with this assertion:

  llvm-tblgen: /home/simon/work/rvllvm/llvm/llvm/utils/TableGen/CodeGenDAGPatterns.h:836: const llvm::TreePatternNodePtr &llvm::TreePattern::getOnlyTree() const: Assertion `Trees.size() == 1 && "Doesn't have exactly one pattern!"' failed.

Trying to narrow this down, it looks like the use of PatFrags is causing the issue, if I try with PatFrag and just the first pattern (just picking one at random), my build seems to succeed. I'm not familiar enough with PatFrags to suggest a fix.


https://reviews.llvm.org/D52977





More information about the llvm-commits mailing list