llvm-project/llvm/test/CodeGen/Mips/llvm-ir
Stefan Maksimovic 4a612d4bf2 [mips] Sign extend i32 return values on MIPS64
Override getTypeForExtReturn so that functions returning
an i32 typed value have it sign extended on MIPS64.

Also provide patterns to get rid of unneeded sign extensions
for arithmetic instructions which implicitly sign extend
their results.

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

llvm-svn: 338019
2018-07-26 10:59:35 +00:00
..
abs.ll [mips] Properly select abs and sqrt instructions 2018-01-23 10:09:39 +00:00
add-dsp.ll [mips] Add testcase for i64, i128 addition for the DSP ASE 2018-06-06 13:30:39 +00:00
add.ll [mips] Mark select instructions correctly 2018-05-15 16:05:04 +00:00
addrspacecast.ll
and.ll [mips] Sign extend i32 return values on MIPS64 2018-07-26 10:59:35 +00:00
arith-fp.ll [mips] Define certain instructions in microMIPS32r3 2018-02-08 09:25:17 +00:00
ashr.ll [mips][microMIPS] Extending size reduction pass with LWP and SWP 2018-06-13 12:51:37 +00:00
atomicrmx.ll
bitcast.ll [mips] Define certain instructions in microMIPS32r3 2018-02-08 09:25:17 +00:00
call.ll Followup on Proposal to move MIR physical register namespace to '$' sigil. 2018-01-31 22:04:26 +00:00
cvt.ll [mips] Define certain instructions in microMIPS32r3 2018-02-08 09:25:17 +00:00
extractelement.ll [SelectionDAG] Reverse the order of operands in the ISD::ADD created by TargetLowering::getVectorElementPointer so that the FrameIndex is on the left. 2017-12-22 17:18:13 +00:00
indirectbr.ll
isel.ll [mips] Fix the predicates for arithmetic operations 2018-06-05 17:53:22 +00:00
lh_lhu.ll [mips] Removal of microMIPS64R6 2017-12-11 11:21:40 +00:00
load-atomic.ll
load.ll [mips] Fix microMIPS loads and stores. 2018-04-30 09:44:44 +00:00
lshr.ll [mips][microMIPS] Extending size reduction pass with LWP and SWP 2018-06-13 12:51:37 +00:00
mul.ll [mips] Correct the predicates for a number of instructions. 2018-05-29 09:56:19 +00:00
not.ll [mips] Sign extend i32 return values on MIPS64 2018-07-26 10:59:35 +00:00
or.ll [mips] Sign extend i32 return values on MIPS64 2018-07-26 10:59:35 +00:00
ret.ll
sdiv.ll [mips] Correct the predicates for a number of instructions. 2018-05-29 09:56:19 +00:00
select-dbl.ll [mips] Mark select instructions correctly 2018-05-15 16:05:04 +00:00
select-flt.ll [mips] Mark select instructions correctly 2018-05-15 16:05:04 +00:00
select-int.ll [mips] Sign extend i32 return values on MIPS64 2018-07-26 10:59:35 +00:00
shl.ll [mips][microMIPS] Extending size reduction pass with LWP and SWP 2018-06-13 12:51:37 +00:00
sqrt.ll [mips] Properly select abs and sqrt instructions 2018-01-23 10:09:39 +00:00
srem.ll [mips] Correct the predicates for a number of instructions. 2018-05-29 09:56:19 +00:00
store-atomic.ll
store.ll [mips] Fix microMIPS loads and stores. 2018-04-30 09:44:44 +00:00
sub.ll Re-enable "[MachineCopyPropagation] Extend pass to do COPY source forwarding" 2018-02-27 16:59:10 +00:00
trap.ll [mips] Restore the availablity of trap for microMIPS 2018-06-04 12:50:32 +00:00
udiv.ll [mips] Correct the predicates for a number of instructions. 2018-05-29 09:56:19 +00:00
urem.ll [mips] Correct the predicates for a number of instructions. 2018-05-29 09:56:19 +00:00
xor.ll [mips] Sign extend i32 return values on MIPS64 2018-07-26 10:59:35 +00:00