| commit | d3c284f645f896a0957ec040ac735fe44c53725e | [log] [tgz] |
|---|---|---|
| author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Mon Jul 18 15:30:00 2016 +0000 |
| committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Mon Jul 18 15:30:00 2016 +0000 |
| tree | 382f06adf132566f6b7e3f1aea634f72a0399454 | |
| parent | a645433c5fac7910c199e8bd381942f2b6f0c0d5 [diff] |
[PowerPC] Remove redundant direct moves when extracting integers and converting to FP This patch corresponds to review: https://reviews.llvm.org/D21354 We use direct moves for extracting integer elements from vectors. We also use direct moves when converting integers to FP. When these operations are chained, we get a direct move out of a VSR followed by a direct move back into a VSR. These are redundant - all we need to do is line up the element and convert. llvm-svn: 275796