[PATCH] D132408: [SimplifyCFG] accumulate bonus insts cost

Yaxun Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 25 14:35:25 PDT 2022


yaxunl updated this revision to Diff 455717.
yaxunl added a comment.

use ValueMap to track BasicBlock


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

https://reviews.llvm.org/D132408

Files:
  llvm/include/llvm/Transforms/Utils/Local.h
  llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
  llvm/lib/Transforms/Utils/LoopSimplify.cpp
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/LoopUnroll/peel-loop-inner.ll
  llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-logical.ll
  llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll
  llvm/test/Transforms/SimplifyCFG/branch-fold-unrolled-loop.ll
  llvm/test/Transforms/SimplifyCFG/fold-branch-to-common-dest-two-preds-cost.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132408.455717.patch
Type: text/x-patch
Size: 19192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220825/b139ed34/attachment-0001.bin>


More information about the llvm-commits mailing list