summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/vavg.ll
Commit message (Collapse)AuthorAgeFilesLines
* [PowerPC] Exploitate the Vector Integer Average InstructionsQingShan Zhang2019-12-111-72/+123
| | | | | | | | | | | PowerPC has instruction to do the semantics of this piece of code: vector int foo(vector int m, vector int n) { return (m + n + 1) >> 1; } This patch is adding the match rule to select it. Differential Revision: https://reviews.llvm.org/D71002
* [NFC][Test] Add the vavg test for PowerPCQingShan Zhang2019-11-181-0/+189
OpenPOWER on IntegriCloud