diff options
author | QingShan Zhang <qshanz@cn.ibm.com> | 2019-12-11 07:25:57 +0000 |
---|---|---|
committer | QingShan Zhang <qshanz@cn.ibm.com> | 2019-12-11 07:25:57 +0000 |
commit | f99297176cd9507393b69029406080de01ae41c7 (patch) | |
tree | a2955232f6d349a3a5e16749825fd8cced61f242 /llvm/tools/llvm-readobj | |
parent | d4345636e678ccab8a87b09cdad9129e54c23100 (diff) | |
download | llvm-f99297176cd9507393b69029406080de01ae41c7.zip llvm-f99297176cd9507393b69029406080de01ae41c7.tar.gz llvm-f99297176cd9507393b69029406080de01ae41c7.tar.bz2 |
[PowerPC] Exploitate the Vector Integer Average Instructions
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
Diffstat (limited to 'llvm/tools/llvm-readobj')
0 files changed, 0 insertions, 0 deletions