summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/scalar_vector_test_1.ll
Commit message (Collapse)AuthorAgeFilesLines
* Test commitAmy Kwan2018-12-191-0/+1
| | | | llvm-svn: 349633
* [PowerPC] Add a peephole post RA to transform the inst that fed by addQingShan Zhang2018-08-201-8/+4
| | | | | | | | | | | | | If the arch is P8, we will select XFLOAD to load the floating point, and then, expand it to vsx and non-vsx X-form instruction post RA. This patch is trying to convert the X-form to D-form if it meets the requirement that one operand of the x-form inst is the special Zero register, and another operand fed by add inst. i.e. y = add imm, reg LFDX. 0, y --> LFD imm(reg) Reviewers: Nemanjai Differential Revision: https://reviews.llvm.org/D49007 llvm-svn: 340149
* [PowerPC] Improve codegen for vector loads using scalar_to_vectorZaara Syeda2018-08-081-0/+292
This patch aims to improve the codegen for vector loads involving the scalar_to_vector (load X) sequence. Initially, ld->mv instructions were used for scalar_to_vector (load X), so this patch allows scalar_to_vector (load X) to utilize: LXSD and LXSDX for i64 and f64 LXSIWAX for i32 (sign extension to i64) LXSIWZX for i32 and f64 Committing on behalf of Amy Kwan. Differential Revision: https://reviews.llvm.org/D48950 llvm-svn: 339260
OpenPOWER on IntegriCloud