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

Alexey Zhikhartsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 14 14:37:53 PDT 2021


alexey.zhikhar updated this revision to Diff 358757.
alexey.zhikhar added a comment.

- Add optimization remark emitter
- Test for min code size
- Test with blocks that cannot be cloned
- Test with some unsupported instructions
- Test unpredictable switch
- Replace all mentions of FSM with DFA
- Always use the term "Threading Path", instead of interchanging "threading" with "threadable"


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

https://reviews.llvm.org/D99205

Files:
  llvm/include/llvm/InitializePasses.h
  llvm/include/llvm/LinkAllPasses.h
  llvm/include/llvm/Transforms/Scalar.h
  llvm/include/llvm/Transforms/Scalar/DFAJumpThreading.h
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
  llvm/lib/Transforms/Scalar/CMakeLists.txt
  llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
  llvm/lib/Transforms/Scalar/Scalar.cpp
  llvm/test/Transforms/DFAJumpThreading/dfa-constant-propagation.ll
  llvm/test/Transforms/DFAJumpThreading/dfa-jump-threading-analysis.ll
  llvm/test/Transforms/DFAJumpThreading/dfa-jump-threading-transform.ll
  llvm/test/Transforms/DFAJumpThreading/dfa-unfold-select.ll
  llvm/test/Transforms/DFAJumpThreading/negative.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99205.358757.patch
Type: text/x-patch
Size: 91248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210714/d76f8973/attachment.bin>


More information about the llvm-commits mailing list