[llvm] r309243 - [GISel]: Missed passing in a parameter to addUsesFromArgs
Aditya Nandakumar via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 19:15:35 PDT 2017
Author: aditya_nandakumar
Date: Wed Jul 26 19:15:34 2017
New Revision: 309243
URL: http://llvm.org/viewvc/llvm-project?rev=309243&view=rev
Log:
[GISel]: Missed passing in a parameter to addUsesFromArgs
Modified:
llvm/trunk/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
Modified: llvm/trunk/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h?rev=309243&r1=309242&r2=309243&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h (original)
+++ llvm/trunk/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h Wed Jul 26 19:15:34 2017
@@ -82,7 +82,7 @@ class MachineIRBuilder {
template<typename UseArgTy, typename ... UseArgsTy>
void addUsesFromArgs(MachineInstrBuilder &MIB, UseArgTy &&Arg1, UseArgsTy &&... Args) {
addUseFromArg(MIB, Arg1);
- addUsesFromArgs(std::forward<UseArgsTy>(Args)...);
+ addUsesFromArgs(MIB, std::forward<UseArgsTy>(Args)...);
}
public:
/// Getter for the function we currently build.
More information about the llvm-commits
mailing list