llvm-project/llvm/test/CodeGen/VE/Scalar
Craig Topper 9132299836 [LegalizeTypes][VE] Don't Expand BITREVERSE/BSWAP during type legalization promotion if they will be promoted for NVT in op legalization.
We were trying to expand these if they were going to be expanded
in op legalization so that we generated the minimum number of
operations. We failed to take into account that NVT could be
promoted to another legal type in op legalization.

Hoping this fixes the issue on the VE target reported as a follow
up to D96681. The check line changes were taken from before
1e46b6f401 so this patch does
appear to improve some cases that had previously regressed.
2021-06-29 11:00:11 -07:00
..
addition.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
alloca.ll
alloca_aligned.ll
and.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
atomic.ll [VE] Support atomic exchange instructions 2020-12-15 17:43:11 +09:00
atomic_cmp_swap.ll [VE] Support atomic exchange instructions 2020-12-15 17:43:11 +09:00
atomic_fence.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
atomic_load.ll [VE] Support atomic exchange instructions 2020-12-15 17:43:11 +09:00
atomic_store.ll [VE] Support atomic exchange instructions 2020-12-15 17:43:11 +09:00
atomic_swap.ll [VE] Support atomic exchange instructions 2020-12-15 17:43:11 +09:00
bitcast.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
bitreverse.ll [LegalizeTypes][VE] Don't Expand BITREVERSE/BSWAP during type legalization promotion if they will be promoted for NVT in op legalization. 2021-06-29 11:00:11 -07:00
blockaddress.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
br_analyze.ll [VE] Clean check routines of branch types 2020-12-01 02:19:37 +09:00
br_cc.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
br_jt.ll [VE] Optimize prologue/epilogue instructions about GOT 2020-12-01 02:22:31 +09:00
brcond.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
brind.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
bswap.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
builtin_sjlj.ll [VE] Support SJLJ exception related instructions 2021-01-05 20:19:15 +09:00
builtin_sjlj_bp.ll [VE] Support SJLJ exception related instructions 2021-01-05 20:19:15 +09:00
builtin_sjlj_callsite.ll [VE] Support SJLJ exception related instructions 2021-01-05 20:19:15 +09:00
builtin_sjlj_landingpad.ll [VE] Support SJLJ exception related instructions 2021-01-05 20:19:15 +09:00
builtin_sjlj_lsda.ll [VE] Support llvm.eh.sjlj.lsda 2021-01-05 18:06:14 +09:00
call.ll
callee.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
callstruct.ll [VE][NFC] Update missing bulk update tests to use typed sret 2020-11-21 13:11:25 +09:00
cast.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
constants.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
cpu.ll [VE] Change default CPU name to "generic" 2021-01-04 20:09:57 +09:00
ctlz.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
ctpop.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
cttz.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
div.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
fabs.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
fcopysign.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
fcos.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
fold-imm-addsl.mir [VE] Implement FoldImmediate 2020-11-11 08:08:32 +09:00
fold-imm-cmpsl.mir [VE] Implement FoldImmediate 2020-11-11 08:08:32 +09:00
fp_add.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
fp_div.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
fp_extload_truncstore.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
fp_fneg.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
fp_frem.ll
fp_mul.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
fp_sub.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
fp_to_int.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
frameaddr.ll [VE] Support FRAMEADDR 2020-12-15 23:31:19 +09:00
fsin.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
fsqrt.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
function_prologue_epilogue.ll [VE] Optimize prologue/epilogue instructions about GOT 2020-12-01 02:22:31 +09:00
inlineasm-lea.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
inlineasm-vldvst-reg.ll [VE] Change the default type of v64 register class 2020-11-12 19:07:07 +09:00
inlineasm-vldvst.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
int_to_fp.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
lea-opt.ll [VE] Optimize LEA combinations 2020-12-21 22:21:10 +09:00
left_shift.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
load-align1.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
load-align2.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
load-align4.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
load-align8.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
load.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
load_gv.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
load_off.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
loadrri.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
max.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
min.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
multiply.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
nnd.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
or.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
pic_access_data.ll [VE] Optimize prologue/epilogue instructions about GOT 2020-12-01 02:22:31 +09:00
pic_access_static_data.ll [VE] Optimize prologue/epilogue instructions about GOT 2020-12-01 02:22:31 +09:00
pic_func_call.ll
pic_indirect_func_call.ll
rem.ll [test] Fix CodeGen/VE/Scalar tests 2021-03-02 15:30:44 -08:00
returnaddr.ll [VE] Support RETURNADDR 2020-12-21 20:06:03 +09:00
right_shift.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
rotl.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
rotr.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
select.ll [VE] Change the behaviour of truncate 2020-11-30 22:12:45 +09:00
select_cc.ll [VE] Change the behaviour of truncate 2020-11-30 22:12:45 +09:00
selectccf32.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
selectccf32c.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
selectccf32i.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
selectccf64.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
selectccf64c.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
selectccf64i.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
selectcci32.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
selectcci32c.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
selectcci32i.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
selectcci64.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
selectcci64c.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
selectcci64i.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
setcc.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
setccf32.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
setccf32i.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
setccf64.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
setccf64i.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
setcci32.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
setcci32i.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
setcci64.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
setcci64i.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
sext_zext_load.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
shl.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
shr.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
stackframe_align.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
stackframe_call.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
stackframe_nocall.ll [VE] Optimize prologue/epilogue instructions about GOT 2020-12-01 02:22:31 +09:00
stackframe_size.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
stacksave.ll [VE] Support STACKSAVE and STACKRESTORE 2020-12-21 20:15:50 +09:00
store-align1.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
store-align2.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
store-align4.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
store-align8.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
store.ll [VE] Optimize prologue/epilogue instructions 2020-11-30 22:22:33 +09:00
store_gv.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
subtraction.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
symbol_relocation.ll
symbol_relocation_tls.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
target_support.ll
tls.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
truncstore.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00
va_arg.ll
va_callee.ll
va_caller.ll
xor.ll [VE] Optimize leaf functions 2020-11-17 00:38:01 +09:00