Make 'Insert' set the name for Loads, instead of passing the name into the
authorChris Lattner <sabre@nondot.org>
Sat, 9 Aug 2008 06:26:23 +0000 (06:26 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 9 Aug 2008 06:26:23 +0000 (06:26 +0000)
commit1378c1dd22842d59ef6dd4c6c1e84cd05f63948c
tree6edb59a7037d9144982efdfb80d361221974af85
parentbe9e8ae979631fd843f36755703f98ebce502acb
Make 'Insert' set the name for Loads, instead of passing the name into the
LoadInst ctor, which causes std::string thrashing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54577 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/IRBuilder.h