[PATCH] D78057: [llvm][DenseMapInfo] Add an info specialization for std::tuple

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 14:07:54 PDT 2020


rriddle created this revision.
rriddle added a reviewer: lattner.
Herald added subscribers: llvm-commits, frgossen, grosul1, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, mehdi_amini, dexonsmith.
Herald added a project: LLVM.

This revision adds a DenseMapInfo overload for std::tuples whose elements all have a DenseMapInfo. The implementation is similar to that of std::pair, and has been used within MLIR for over a year.

Depends On D78053 <https://reviews.llvm.org/D78053>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78057

Files:
  llvm/include/llvm/ADT/DenseMapInfo.h
  mlir/include/mlir/Support/STLExtras.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78057.257111.patch
Type: text/x-patch
Size: 6017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200413/783dd812/attachment.bin>


More information about the llvm-commits mailing list