mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-23 11:43:32 +00:00
[DAG] Remove pointless std::function wrapper, NFC
This commit is contained in:
parent
cf4f97c812
commit
b5a592a8e2
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user