[PATCH] D68438: [gicombiner] Add the run-time rule disable option

Sergey Dmitriev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 10:14:21 PDT 2019


sdmitriev added inline comments.


================
Comment at: llvm/utils/TableGen/GICombinerEmitter.cpp:372
+     << "  if (!RangePair.second.empty()) {\n"
+     << "    const auto First = getRuleIdxForIdentifier(RangePair.first);\n"
+     << "    const auto Last = getRuleIdxForIdentifier(RangePair.second);\n"
----------------
getRuleIdxForIdentifier() is defined under #ifndef NDEBUG, but called without #ifndef NDEBUG. I assume this will cause an error if NDEBUG macro is defined.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68438





More information about the llvm-commits mailing list