[PATCH] D110290: [JumpThreading] Ignore free instructions

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 22 14:52:19 PDT 2021


nikic updated this revision to Diff 374373.
nikic retitled this revision from "[JumpThreading] Use cost model for jump threading decision" to "[JumpThreading] Ignore free instructions".
nikic edited the summary of this revision.
nikic added a comment.

Only check TCC_Free, otherwise keep previous cost model.


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

https://reviews.llvm.org/D110290

Files:
  llvm/include/llvm/Transforms/Scalar/JumpThreading.h
  llvm/lib/Transforms/Scalar/JumpThreading.cpp
  llvm/test/Transforms/JumpThreading/free_instructions.ll
  llvm/test/Transforms/PhaseOrdering/inlining-alignment-assumptions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110290.374373.patch
Type: text/x-patch
Size: 11511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210922/f520e76e/attachment.bin>


More information about the llvm-commits mailing list