[PATCH] D45754: [PM/LoopUnswitch] Detect irreducible control flow within loops and skip unswitching non-trivial edges.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 18 10:46:20 PDT 2018


fhahn added subscribers: dcaballe, fhahn.
fhahn added a comment.

@dcaballe added a `containsIrreduciableCFG` function to include/llvm/Analysis/CFG.h in https://reviews.llvm.org/D40874. I do not have time to take a close look today, but it seems at least for the attached test case, `containsIrreduciableCFG` does the right thing.


Repository:
  rL LLVM

https://reviews.llvm.org/D45754





More information about the llvm-commits mailing list