[LLVMdev] Fwd: folding x * 0 = 0

Paul Davey plmdvy at gmail.com
Wed Mar 3 23:52:28 PST 2010


sorry forgot to change address :/
Rob:

from original post:

I would expect the following optimizations, but didn't find them in the
code:
x  + 0 = x
x * 0 = 0
x * 1 = 1
x * -1 = -x
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100304/ab3a1b7a/attachment.html>


More information about the llvm-dev mailing list