[LLVMdev] Local common subexpression elimination

Evan Cheng evan.cheng at apple.com
Thu Oct 16 07:41:45 PDT 2008


On Oct 15, 2008, at 8:55 PM, Nicolas Capens wrote:

> Hi all,
>
> Is there any existing pass that performs fast local common  
> subexpression elimination?
>
> The reason I’m asking is because global common subexpression  
> elimination (GVN or GVN-PRE) is too slow for my JIT purposes, but I  
> see lots of value in local CSE.

What kinds of expressions? SelectionDAG does essentially what you want  
automatically when nodes are created.

Evan

>
> Thanks,
>
> Nicolas
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081016/cfc3899d/attachment.html>


More information about the llvm-dev mailing list