diff options
author | QingShan Zhang <qshanz@cn.ibm.com> | 2018-08-20 02:52:55 +0000 |
---|---|---|
committer | QingShan Zhang <qshanz@cn.ibm.com> | 2018-08-20 02:52:55 +0000 |
commit | f8f9af7ba529ab900eba783fa76229f77a545e07 (patch) | |
tree | d213eade4c2f88037e22c55847afd8e1b689b128 /clang/lib/Serialization/ModuleManager.cpp | |
parent | fdca0c6d2ea9b2d30965f8f170d705a858c43b9d (diff) | |
download | llvm-f8f9af7ba529ab900eba783fa76229f77a545e07.zip llvm-f8f9af7ba529ab900eba783fa76229f77a545e07.tar.gz llvm-f8f9af7ba529ab900eba783fa76229f77a545e07.tar.bz2 |
[PowerPC] Add a peephole post RA to transform the inst that fed by add
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
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions