[OperandBundles] Remove unncessary constructor
authorSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 8 Dec 2015 03:50:32 +0000 (03:50 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 8 Dec 2015 03:50:32 +0000 (03:50 +0000)
commit43a68c82e51919cc6d38187f95d30fef456e6ad7
treeefecdd8b216906d4712cac079bb4ee6e939cbd67
parent4474471834be491ad1c6de19da0fa82bf667e70a
[OperandBundles] Remove unncessary constructor

The StringRef constructor is unnecessary (since we're converting to
std::string anyway), and having it requires an explicit call to
StringRef's or std::string's constructor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255000 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/InstrTypes.h
lib/Transforms/Utils/InlineFunction.cpp