[PATCH] Added instruction combine to transform few more negative values addition to subtraction
dinesh.d at samsung.com
Thu May 15 08:10:40 PDT 2014
Updated patch to return fully transformed value.
Added additional transforms
(x + (~(y | c) + 1) --> x - (y | c) if c is even
(x + (~((y >> z) | c) + 1) --> x - ((y>>z) | c) if c is even
Is it ok to loose names of instruction during transforms. This patch returns instruction names as %1, %2
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7192 bytes
Desc: not available
More information about the llvm-commits