[llvm] r292857 - [WebAssembly] Update LibFunc::Func -> LibFunc
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 23 16:01:18 PST 2017
Author: dschuff
Date: Mon Jan 23 18:01:18 2017
New Revision: 292857
URL: http://llvm.org/viewvc/llvm-project?rev=292857&view=rev
Log:
[WebAssembly] Update LibFunc::Func -> LibFunc
Fixes compile failures after r292848
Modified:
llvm/trunk/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
llvm/trunk/lib/Target/WebAssembly/WebAssemblyStoreResults.cpp
Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyPeephole.cpp?rev=292857&r1=292856&r2=292857&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyPeephole.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyPeephole.cpp Mon Jan 23 18:01:18 2017
@@ -127,7 +127,7 @@ bool WebAssemblyPeephole::runOnMachineFu
if (Name == TLI.getLibcallName(RTLIB::MEMCPY) ||
Name == TLI.getLibcallName(RTLIB::MEMMOVE) ||
Name == TLI.getLibcallName(RTLIB::MEMSET)) {
- LibFunc::Func Func;
+ LibFunc Func;
if (LibInfo.getLibFunc(Name, Func)) {
const auto &Op2 = MI.getOperand(2);
if (!Op2.isReg())
Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyStoreResults.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyStoreResults.cpp?rev=292857&r1=292856&r2=292857&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyStoreResults.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyStoreResults.cpp Mon Jan 23 18:01:18 2017
@@ -154,7 +154,7 @@ static bool optimizeCall(MachineBasicBlo
if (!callReturnsInput)
return false;
- LibFunc::Func Func;
+ LibFunc Func;
if (!LibInfo.getLibFunc(Name, Func))
return false;
More information about the llvm-commits
mailing list