[PATCH] D74999: [WebAssembly] Fix a non-determinism problem in FixIrreducibleControlFlow

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 21 16:11:53 PST 2020


dschuff added inline comments.


================
Comment at: llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp:72
+  llvm::sort(SortedEntries,
+             [&](const MachineBasicBlock *A, const MachineBasicBlock *B) {
+               auto ANum = A->getNumber();
----------------
do we need to capture everything `[&]` here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74999/new/

https://reviews.llvm.org/D74999





More information about the llvm-commits mailing list