[PATCH] Constant Hoisting Pass

Juergen Ributzka juergen at apple.com
Thu Jan 23 15:38:01 PST 2014


Sure, I can modify the patch to do that instead. I am just wondering how that could affect the debugger,
because after hoisting the constant might be in a different basic block than the first use?

-Juergen

On Jan 23, 2014, at 3:31 PM, Eric Christopher <echristo at gmail.com> wrote:

> For the hoisted constants I'd prefer you pick the instruction of the
> earliest such use of the constant in the function if possible. That
> will a) keep it closer, and b) hopefully match up with some of the
> uses.
> 
> Thoughts?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140123/808c0e6b/attachment.html>


More information about the llvm-commits mailing list