[DAG] Remove pointless std::function wrapper, NFC

This commit is contained in:
Reid Kleckner 2022-02-09 14:30:32 -08:00
parent cf4f97c812
commit b5a592a8e2

View File

@ -23962,7 +23962,7 @@ void DAGCombiner::GatherAllAliases(SDNode *N, SDValue OriginalChain,
unsigned Depth = 0;
// Attempt to improve chain by a single step
std::function<bool(SDValue &)> ImproveChain = [&](SDValue &C) -> bool {
auto ImproveChain = [&](SDValue &C) -> bool {
switch (C.getOpcode()) {
case ISD::EntryToken:
// No need to mark EntryToken.