[PATCH] D99205: Add jump-threading optimization for deterministic finite automata

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 27 05:09:03 PDT 2021


foad added a comment.

Naive question: does your new pass "result in irreducible control flow that harms other optimizations"? From the ASCII art diagram in the commit message it looks like it does. Why is that OK?



================
Comment at: llvm/include/llvm/Transforms/Scalar/DFAJumpThreading.h:1
+//===- DFAJumpThreading.cpp - Threads a switch statement inside a loop ----===//
+//
----------------
Typo ".cpp" :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99205



More information about the llvm-commits mailing list