llvm-project/llvm/test/CodeGen/Mips/llvm-ir
Simon Atanasyan a0291110da [MIPS] Use custom bitcast lowering to avoid excessive instructions
On Mips32r2 bitcast can be expanded to two sw instructions and an ldc1
when using bitcast i64 to double or an sdc1 and two lw instructions when
using bitcast double to i64. By introducing custom lowering that uses
mtc1/mthc1 we can avoid excessive instructions.

Patch by Mirko Brkusanin.

Differential Revision: https://reviews.llvm.org/D61069

llvm-svn: 359171
2019-04-25 07:47:28 +00:00
..
abs.ll [mips] Support for +abs2008 attribute 2019-01-28 14:59:30 +00:00
add-dsp.ll
add.ll
addrspacecast.ll
and.ll
arith-fp.ll
ashr.ll [mips] Optimize shifts for types larger than GPR size (mips2/mips3) 2019-01-14 12:28:51 +00:00
atomicrmx.ll
bitcast.ll [MIPS] Use custom bitcast lowering to avoid excessive instructions 2019-04-25 07:47:28 +00:00
call.ll
cvt.ll
extractelement.ll
fptosi.ll Fixup tests to check for any MCInst number instead of a specific one. 2019-03-14 01:24:35 +00:00
indirectbr.ll
isel.ll
lh_lhu.ll
load-atomic.ll
load.ll
lshr.ll [mips] Optimize shifts for types larger than GPR size (mips2/mips3) 2019-01-14 12:28:51 +00:00
mul.ll
not.ll
or.ll
ret.ll
sdiv.ll [mips] Emit .reloc R_{MICRO}MIPS_JALR along with j(al)r(c) $25 2019-01-17 21:50:37 +00:00
select-dbl.ll
select-flt.ll
select-int.ll
shl.ll [mips] Optimize shifts for types larger than GPR size (mips2/mips3) 2019-01-14 12:28:51 +00:00
sqrt.ll
srem.ll [mips] Emit .reloc R_{MICRO}MIPS_JALR along with j(al)r(c) $25 2019-01-17 21:50:37 +00:00
store-atomic.ll
store.ll
sub.ll
trap.ll
udiv.ll [mips] Emit .reloc R_{MICRO}MIPS_JALR along with j(al)r(c) $25 2019-01-17 21:50:37 +00:00
urem.ll [mips] Emit .reloc R_{MICRO}MIPS_JALR along with j(al)r(c) $25 2019-01-17 21:50:37 +00:00
xor.ll