[MachineIRBuilder] Rename the setter of MF for consistency with the getter.
llvm-svn: 263262
diff --git a/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp b/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
index f8a5e04..adf5133 100644
--- a/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
@@ -108,7 +108,7 @@
if (F.empty())
return false;
CLI = MF.getSubtarget().getCallLowering();
- MIRBuilder.setFunction(MF);
+ MIRBuilder.setMF(MF);
MRI = &MF.getRegInfo();
// Setup the arguments.
MachineBasicBlock &MBB = getOrCreateBB(F.front());