[PATCH] Added InstCombine Transformation for (A^B)^((~A)&B) -> A&(~B)

Ankur Garg ankur29.garg at samsung.com
Thu Aug 28 02:36:04 PDT 2014


Hi Anton,
Thank You for reviewing the patch.
The simplified expression reduces the number of operations required for the calculation of the original expression from 4 to 3. Just like most of the other transformations, it will reduce the computation. I am not exactly sure what you meant by real world examples. Can you please clarify ?

Thanks.
Regards,
Ankur Garg

http://reviews.llvm.org/D5002






More information about the llvm-commits mailing list