This is an archive of the discontinued LLVM Phabricator instance.

Added InstCombine Transform for pattern "((~A & B) | A) -> (A | B)"
ClosedPublic

Authored by suyog on Jul 18 2014, 12:59 PM.

Details

Summary

This patch implements transform for pattern "((~A & B) | A) -> (A | B)"

Please help in reviewing this patch.

Diff Detail

Repository
rL LLVM

Event Timeline

suyog updated this revision to Diff 11666.Jul 18 2014, 12:59 PM
suyog retitled this revision from to Added InstCombine Transform for pattern "((~A & B) | A) -> (A | B)".
suyog updated this object.
suyog edited the test plan for this revision. (Show Details)
suyog added reviewers: nicholas, rafael, dexonsmith.
suyog added a subscriber: Unknown Object (MLST).
suyog updated this revision to Diff 11765.Jul 22 2014, 10:44 AM

Hi Duncan,

Added Code for Pattern "((A & B) | ~A) -> (~A | B)" as well as per your review.

Please help in reviewing the updated patch.

Thanks,
Suyog Sarda

suyog accepted this revision.Jul 22 2014, 11:15 AM
suyog added a reviewer: suyog.
This revision is now accepted and ready to land.Jul 22 2014, 11:15 AM
suyog closed this revision.Jul 22 2014, 11:18 AM
suyog updated this revision to Diff 11769.

Closed by commit rL213676 (authored by @suyog).