[llvm] r354019 - Fix an accidentally flipped pair of arguments, NFCI
Jeremy Morse via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 14 03:09:24 PST 2019
Author: jmorse
Date: Thu Feb 14 03:09:24 2019
New Revision: 354019
URL: http://llvm.org/viewvc/llvm-project?rev=354019&view=rev
Log:
Fix an accidentally flipped pair of arguments, NFCI
While rebasing a refactor in r353950 I accidentally swapped two function
arguments; one is SelectionDAGBuilders "current" DebugLoc, the other is the one
from the "current" debug intrinsic. They're probably always identical, but I
haven't proved that yet.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=354019&r1=354018&r2=354019&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Thu Feb 14 03:09:24 2019
@@ -5661,7 +5661,7 @@ SelectionDAGBuilder::visitIntrinsicCall(
if (!V)
return nullptr;
- if (handleDebugValue(V, Variable, Expression, DI.getDebugLoc(), dl,
+ if (handleDebugValue(V, Variable, Expression, dl, DI.getDebugLoc(),
SDNodeOrder))
return nullptr;
More information about the llvm-commits
mailing list