[XRay] Remove unused variable
authorDean Michael Berris <dberris@google.com>
Thu, 8 Sep 2016 00:38:22 +0000 (00:38 +0000)
committerDean Michael Berris <dberris@google.com>
Thu, 8 Sep 2016 00:38:22 +0000 (00:38 +0000)
llvm-svn: 280891

llvm/lib/CodeGen/XRayInstrumentation.cpp

index ea29d4c..1035bc3 100644 (file)
@@ -97,8 +97,8 @@ void XRayInstrumentation::prependRetWithPatchableExit(MachineFunction &MF,
     for (auto &T : MBB.terminators()) {
       if (T.isReturn()) {
         // Prepend the return instruction with PATCHABLE_FUNCTION_EXIT
-        auto MIB = BuildMI(MBB, T, T.getDebugLoc(),
-          TII->get(TargetOpcode::PATCHABLE_FUNCTION_EXIT));
+        BuildMI(MBB, T, T.getDebugLoc(),
+                TII->get(TargetOpcode::PATCHABLE_FUNCTION_EXIT));
       }
     }
   }