[PATCH] D60674: [X86] Restore the pavg intrinsics.
Simon Pilgrim via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 15 04:39:12 PDT 2019
RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.
LGTM - there's too many different optimizations and canonicalizations that can occur on such a pattern to be able to match all of the permutations.
We can probably add some InstCombine optimizations (e.g. where the avg can't overflow etc.) and keep the existing DAG matching.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60674/new/
https://reviews.llvm.org/D60674
More information about the cfe-commits
mailing list