From: Yaron Keren Date: Mon, 30 Mar 2015 16:10:39 +0000 (+0000) Subject: Trying to fix the Hexagon and debian-fast bots arm32_neon_vcnt_upgrade.ll test. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f88cbb8c49bd14e4da90a9d268773c6726bd7102;p=oota-llvm.git 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 --- diff --git a/lib/IR/AutoUpgrade.cpp b/lib/IR/AutoUpgrade.cpp index 88efef06b72..1a74b615321 100644 --- a/lib/IR/AutoUpgrade.cpp +++ b/lib/IR/AutoUpgrade.cpp @@ -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");