[PATCH] MergeFunc: Don't merge functions with different range metadata on call/invoke

Stepan Dyatkovskiy stpworld at narod.ru
Mon Jun 23 19:08:02 PDT 2014


Hi Bjorn,

The changes itself looks fine, but I have to check tests as well.. I'm moving on this week, so I can answer you in Wednesday only.
Thanks for working on it.
By the way, we finished our O(n*log(n)) patch series. You could look into FunctionPtr. Perhaps it had to be renamed to FunctionInfo or something like this.
Anyways in this structure you could keep additional data for instructions you need (such as ranges that where merged currently). I try to think, how to bring it into most generic form. Perhaps that's not only about ranges and tbaa..

Thanks!

http://reviews.llvm.org/D4246






More information about the llvm-commits mailing list