[PATCH] D83636: omp: Make OMP tablegen more like all other tablegens.

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 11 19:16:46 PDT 2020


thakis created this revision.
thakis added a reviewer: clementval.
Herald added subscribers: sstefan1, hiraditya, mgorny.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.

Generate a .inc file that's included by .h and .cpp files,
instead of generating all C++ code in tablegen. The surrounding
C++ is easier to write in a C++ file, and it's consistent with
how the rest of llvm/ looks.

No intended behavior change.


https://reviews.llvm.org/D83636

Files:
  llvm/include/llvm/Frontend/Directive/DirectiveBase.td
  llvm/include/llvm/Frontend/OpenMP/CMakeLists.txt
  llvm/include/llvm/Frontend/OpenMP/OMP.h
  llvm/include/llvm/Frontend/OpenMP/OMP.td
  llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
  llvm/lib/Frontend/OpenMP/CMakeLists.txt
  llvm/lib/Frontend/OpenMP/OMP.cpp
  llvm/test/TableGen/directive1.td
  llvm/test/TableGen/directive2.td
  llvm/utils/TableGen/DirectiveEmitter.cpp
  llvm/utils/TableGen/TableGen.cpp
  llvm/utils/TableGen/TableGenBackends.h
  llvm/utils/gn/secondary/llvm/include/llvm/Frontend/OpenMP/BUILD.gn
  llvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83636.277271.patch
Type: text/x-patch
Size: 32952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200712/f3d50f47/attachment.bin>


More information about the llvm-commits mailing list