Builds on top of 6de2735c2428 to fix remaining issues with iteration order in the MatchTable Combiner backend.
See D155789 as well.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
FYI, I get this warning building a release llvm-tblgen:
/home/davspi01/work/open_source/llvm-project/llvm/utils/TableGen/GlobalISelCombinerMatchTableEmitter.cpp:672:6: warning: ‘void {anonymous}::CombineRuleBuilder::verify() const’ defined but not used [-Wunused-function] 672 | void CombineRuleBuilder::verify() const { | ^~~~~~~~~~~~~~~~~~
Presumably because it's called like this:
bool CombineRuleBuilder::parseAll() { if (!parseDefs(*RuleDef.getValueAsDag("Defs"))) return false; if (!parseMatch(*RuleDef.getValueAsDag("Match"))) return false; if (!parseApply(*RuleDef.getValueAsDag("Apply"))) return false; if (!buildOperandsTable()) return false; if (!findRoots()) return false; LLVM_DEBUG(verify()); return true; }
If you could figure out a way to mark it used in release builds that would be great, as something called verify being unused is always worrying.