diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -24046,6 +24046,7 @@ MachineMemOperand *MMO; }; + auto getCharacteristics = [](SDNode *N) -> MemUseCharacteristics { if (const auto *LSN = dyn_cast(N)) { int64_t Offset = 0;