[PATCH] D70247: [JumpThreading] Thread jumps through two basic blocks

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 12:27:52 PST 2020


xbolva00 added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/JumpThreading.cpp:2119
+  // Don't thread across a loop header.
+  if (LoopHeaders.count(PredBB))
+    return false;
----------------
Can you allow this if ThreadAcrossLoopHeaders is set?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70247





More information about the llvm-commits mailing list