[PATCH] D17920: Query the StringMap only once when creating MDString (NFC)

Duncan P. N. Exon Smith via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 13:36:23 PDT 2016


LGTM once David is happy.

> On 2016-Mar-22, at 13:34, Mehdi AMINI <mehdi.amini at apple.com> wrote:
> 
> joker.eph updated this revision to Diff 51334.
> joker.eph added a comment.
> 
> Use a NonMoveableNonCopyableType with the StringMap.
> 
> 
> http://reviews.llvm.org/D17920
> 
> Files:
>  include/llvm/ADT/StringMap.h
>  include/llvm/IR/Metadata.h
>  lib/IR/Metadata.cpp
>  unittests/ADT/StringMapTest.cpp
> 
> <D17920.51334.patch>



More information about the llvm-commits mailing list