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.

llvm-svn: 354019
This commit is contained in:
Jeremy Morse 2019-02-14 11:09:24 +00:00
parent 98c302baef
commit e3af5a9271

View File

@ -5661,7 +5661,7 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
if (!V) if (!V)
return nullptr; return nullptr;
if (handleDebugValue(V, Variable, Expression, DI.getDebugLoc(), dl, if (handleDebugValue(V, Variable, Expression, dl, DI.getDebugLoc(),
SDNodeOrder)) SDNodeOrder))
return nullptr; return nullptr;