[PATCH] D35043: [ADT] Enable reverse iteration for DenseMap

Mandeep Singh Grang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 9 01:40:55 PDT 2017


mgrang updated this revision to Diff 110331.
mgrang added a comment.

Addressed comments.
Checked if type is pointer-like without adding a new trait. Instead used PointerLikeTypeTraits::NumLowBitsAvailable.


Repository:
  rL LLVM

https://reviews.llvm.org/D35043

Files:
  include/llvm/ADT/DenseMap.h
  include/llvm/ADT/SmallPtrSet.h
  include/llvm/Support/PointerLikeTypeTraits.h
  include/llvm/Support/ReverseIteration.h
  lib/Support/CommandLine.cpp
  test/Transforms/Util/PredicateInfo/condprop2.ll
  test/Transforms/Util/PredicateInfo/testandor2.ll
  unittests/ADT/ReverseIterationTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35043.110331.patch
Type: text/x-patch
Size: 43206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170809/c785d240/attachment.bin>


More information about the llvm-commits mailing list