Trying to fix the Hexagon and debian-fast bots arm32_neon_vcnt_upgrade.ll test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233558 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Yaron Keren 2015-03-30 16:10:39 +00:00
parent 6e92e7b09a
commit f88cbb8c49

View File

@ -745,7 +745,7 @@ void llvm::UpgradeIntrinsicCall(CallInst *CI, Function *NewFn) {
return;
}
llvm::StringRef Name = CI->getName();
std::string Name = CI->getName();
if (!Name.empty())
CI->setName(Name + ".old");