[PATCH] D92926: Add ISsaContext: Type-erased wrapper for SsaContext

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 9 02:45:20 PST 2020


nhaehnle created this revision.
Herald added subscribers: dexonsmith, hiraditya, mgorny.
nhaehnle requested review of this revision.
Herald added a project: LLVM.

Virtual method dispatch is used to provide the functionality of
SsaContext to algorithms that are written to be generic without
the use of templates.

Change-Id: Id8fdc249baf34cb4e215738344fa418d067257a1


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92926

Files:
  llvm/include/llvm/Support/SsaContext.h
  llvm/lib/Support/CMakeLists.txt
  llvm/lib/Support/SsaContext.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92926.310471.patch
Type: text/x-patch
Size: 4041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201209/24270684/attachment.bin>


More information about the llvm-commits mailing list