[PATCH] Allow BB duplication threshold to be adjusted through JumpThreading's ctor

Michael Liao michael.liao at intel.com
Mon Sep 22 12:38:07 PDT 2014


Hi hfinkel,

Some targets may not want to duplicate BB when threading jumps or use different threshold. Adding threshold parameter in that pass's ctor and initializer allows customization on BB duplication.

http://reviews.llvm.org/D5444

Files:
  include/llvm/Transforms/Scalar.h
  lib/Transforms/Scalar/JumpThreading.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5444.13947.patch
Type: text/x-patch
Size: 2843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140922/b822bd6f/attachment.bin>


More information about the llvm-commits mailing list