QingShan Zhang
34ef4ce829
[NFC] fix test case issue that with wrong label check.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349439 91177308-0d34-0410-b5e6-96231b3b80d8
2018-12-18 04:25:41 +00:00
Stefan Pintilie
e7c735a8fc
[PowerPC] Make no-PIC default to match GCC - LLVM
...
Change the default for PowerPC LE to -fno-PIC.
Differential Revision: https://reviews.llvm.org/D53383
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@348298 91177308-0d34-0410-b5e6-96231b3b80d8
2018-12-04 20:14:57 +00:00
Stefan Pintilie
d4792cb049
Revert "[PowerPC] Make no-PIC default to match GCC - LLVM"
...
This reverts commit r347069
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347076 91177308-0d34-0410-b5e6-96231b3b80d8
2018-11-16 19:24:23 +00:00
Stefan Pintilie
ec01f47d19
[PowerPC] Make no-PIC default to match GCC - LLVM
...
Set -fno-PIC as the default option.
Differential Revision: https://reviews.llvm.org/D53383
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347069 91177308-0d34-0410-b5e6-96231b3b80d8
2018-11-16 18:36:21 +00:00
QingShan Zhang
12df467aac
[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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340149 91177308-0d34-0410-b5e6-96231b3b80d8
2018-08-20 02:52:55 +00:00
QingShan Zhang
21cf43199f
If the arch is P9, we will select the DFLOADf32/DFLOADf64 pseudo instruction when we are loading a floating,
...
and expand it post RA basing on the register pressure. However, we miss to do the add-imm peephole for these pseudo instruction.
Differential Revision: https://reviews.llvm.org/D47568
Reviewed By: Nemanjai
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335024 91177308-0d34-0410-b5e6-96231b3b80d8
2018-06-19 06:54:51 +00:00