Revert "Query the StringMap only once when creating MDString (NFC)"
authorMehdi Amini <mehdi.amini@apple.com>
Wed, 17 Feb 2016 02:18:58 +0000 (02:18 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Wed, 17 Feb 2016 02:18:58 +0000 (02:18 +0000)
commitac9d1467e281d97ae2892ddc61823c4bf90f06c2
treea2e05bd01ece34b0d9ffc3144c828cbd0dfd567a
parentce55f56fbc176fffe6f840ca0c1ee4bd273f9d32
Revert "Query the StringMap only once when creating MDString (NFC)"

This reverts commit r261030 and r261036.
(The revision was marked "approved" on phabricator, but some concerns
were raised on the mailing list. Thanks D. Blaikie for notifying me.)

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 261055
llvm/include/llvm/IR/Metadata.h
llvm/lib/IR/Metadata.cpp