Fixes this build error:
llvm/lib/Transforms/Utils/LoopUtils.cpp:679:26: error: no matching function for call to 'find'
Loop::iterator I = find(ParentLoop->begin(), ParentLoop->end(), L);
^~~~ Differential D80473
[LoopUtils] Use llvm::find Authored by orivej on May 23 2020, 8:16 AM.
Details
Fixes this build error: llvm/lib/Transforms/Utils/LoopUtils.cpp:679:26: error: no matching function for call to 'find'
Loop::iterator I = find(ParentLoop->begin(), ParentLoop->end(), L);
^~~~
Diff Detail
Event Timeline |
How about change to Loop::iterator I = find(ParentLoop, L)?