llvm-project/llvm/test/CodeGen/Mips/msa
Peter Rong c2e7c9cb33 [CodeGen] Using ZExt for extractelement indices.
In https://github.com/llvm/llvm-project/issues/57452, we found that IRTranslator is translating `i1 true` into `i32 -1`.
This is because IRTranslator uses SExt for indices.

In this fix, we change the expected behavior of extractelement's index, moving from SExt to ZExt.
This change includes both documentation, SelectionDAG and IRTranslator.
We also included a test for AMDGPU, updated tests for AArch64, Mips, PowerPC, RISCV, VE, WebAssembly and X86

This patch fixes issue #57452.

Differential Revision: https://reviews.llvm.org/D132978
2022-10-15 15:45:35 -07:00
..
2r.ll
2r_vector_scalar.ll
2rf.ll
2rf_exup.ll
2rf_float_int.ll
2rf_fq.ll
2rf_int_float.ll
2rf_tq.ll
3r-a.ll [Support] Make report_fatal_error respect its GenCrashDiag argument so it doesn't generate a backtrace 2022-05-30 19:19:23 +01:00
3r-b.ll
3r-c.ll
3r-d.ll
3r-i.ll
3r-m.ll
3r-p.ll
3r-s.ll [FileCheck] Allow literal '['s before "[[var...]]" 2022-01-13 09:47:37 +00:00
3r-v.ll
3r_4r.ll
3r_4r_widen.ll
3r_splat.ll
3rf.ll
3rf_4rf.ll
3rf_4rf_q.ll
3rf_exdo.ll
3rf_float_int.ll
3rf_int_float.ll
3rf_q.ll
arithmetic.ll
arithmetic_float.ll
avoid_vector_shift_combines.ll
basic_operations.ll [CodeGen] Using ZExt for extractelement indices. 2022-10-15 15:45:35 -07:00
basic_operations_float.ll [CodeGen] Using ZExt for extractelement indices. 2022-10-15 15:45:35 -07:00
bit.ll
bitcast.ll
bitwise.ll
bmzi_bmnzi.ll
cc_without_nan.ll
compare.ll
compare_float.ll
elm_copy.ll
elm_cxcmsa.ll
elm_insv.ll
elm_move.ll
elm_shift_slide.ll
emergency-spill.mir [MIRParser] Diagnose too large align values in MachineMemOperands 2022-02-24 15:32:08 +00:00
endian.ll
f16-llvm-ir.ll Update @llvm.powi to handle different int sizes for the exponent 2021-06-17 09:38:28 +02:00
fexuprl.ll
frameindex.ll
i5-a.ll
i5-b.ll [MIPS][MSA] Regenerate i5-b tests. NFCI. 2021-05-05 16:03:19 +01:00
i5-c.ll
i5-m.ll
i5-s.ll
i5_ld_st.ll
i8.ll
i10.ll
immediates-bad.ll
immediates.ll [MIPS][MSA] Regenerate immediates tests. NFCI. 2021-05-05 16:03:19 +01:00
inline-asm.ll
ldr_str.ll
llvm-stress-s449609655-simplified.ll
llvm-stress-s525530439.ll
llvm-stress-s997348632.ll
llvm-stress-s1704963983.ll
llvm-stress-s1935737938.ll
llvm-stress-s2090927243-simplified.ll
llvm-stress-s2501752154-simplified.ll
llvm-stress-s2704903805.ll
llvm-stress-s3861334421.ll
llvm-stress-s3926023935.ll
llvm-stress-s3997499501.ll
llvm-stress-sz1-s742806235.ll
msa-nooddspreg.ll
nori.b.ll
remat-ldi.ll
shift-dagcombine.ll
shift_constant_pool.ll
shift_no_and.ll
shuffle.ll
special.ll
spill.ll
vec.ll
vecs10.ll