[PATCH] D82039: Integrated cmpOperations() of FunctionComparator into tblgen

Vishal Chebrolu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 17 12:24:14 PDT 2020


vish99 created this revision.
Herald added subscribers: llvm-commits, jfb, hiraditya, mgorny.
Herald added a project: LLVM.
vish99 edited the summary of this revision.

Integrated cmpOperations() of FunctionComparator into tblgen by building a new backend --gen-ir-cmp to tblgen which produces the comparators from IRComprators.td file and changed FunctionComparator to use the file generated by tablegen which is IRComparators.inc


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82039

Files:
  llvm/include/llvm/IR/IRComparators.td
  llvm/include/llvm/Transforms/Utils/FunctionComparator.h
  llvm/include/llvm/Transforms/Utils/IRComparator.inc
  llvm/lib/Transforms/Utils/FunctionComparator.cpp
  llvm/utils/TableGen/CMakeLists.txt
  llvm/utils/TableGen/IRComparator.cpp
  llvm/utils/TableGen/IRComparator.h
  llvm/utils/TableGen/TableGen.cpp
  llvm/utils/TableGen/TableGenBackends.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82039.271436.patch
Type: text/x-patch
Size: 36159 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200617/6b84209b/attachment.bin>


More information about the llvm-commits mailing list