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

hfinkel at anl.gov hfinkel at anl.gov
Sat Sep 27 23:38:35 PDT 2014


> I think that he is trying to disable code duplication because GPU languages may contain barriers that must not be duplicated.

If that's the motivation, then I wonder why our "noduplicate" function attribute is not already sufficient.

http://reviews.llvm.org/D5444






More information about the llvm-commits mailing list