[llvm] r280891 - [XRay] Remove unused variable
Dean Michael Berris via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 7 17:38:23 PDT 2016
Author: dberris
Date: Wed Sep 7 19:38:22 2016
New Revision: 280891
URL: http://llvm.org/viewvc/llvm-project?rev=280891&view=rev
Log:
[XRay] Remove unused variable
Modified:
llvm/trunk/lib/CodeGen/XRayInstrumentation.cpp
Modified: llvm/trunk/lib/CodeGen/XRayInstrumentation.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/XRayInstrumentation.cpp?rev=280891&r1=280890&r2=280891&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/XRayInstrumentation.cpp (original)
+++ llvm/trunk/lib/CodeGen/XRayInstrumentation.cpp Wed Sep 7 19:38:22 2016
@@ -97,8 +97,8 @@ void XRayInstrumentation::prependRetWith
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));
}
}
}
More information about the llvm-commits
mailing list