[PATCH] D124850: [Sema][SVE2] Move/simplify Sema testing for SVE2 ACLE builtins

Rosie Sumpter via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 5 04:53:02 PDT 2022


RosieSumpter updated this revision to Diff 427275.
RosieSumpter marked 3 inline comments as done.
RosieSumpter added a comment.

- Changed operand names to be more descriptive
- Made int/uint/float variables global
- Moved bfloat tests into a separate file


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124850/new/

https://reviews.llvm.org/D124850

Files:
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aba.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adalp.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlbt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addp.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesd.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aese.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesimc.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesmc.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bdep.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bext.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bgrp.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cadd.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cdot.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cmla.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtlt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtnt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtx.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtxnt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eorbt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eortb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hadd.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histcnt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histseg.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsub.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsubr.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sh.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sw.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1ub.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uh.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uw.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_logb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_match.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxnmp.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxp.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minnmp.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minp.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mla.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mls.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mul.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nmatch.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmul.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb_128.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt_128.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qabs.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qadd.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qcadd.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalbt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslbt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmulh.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qneg.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdcmlah.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlah.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlsh.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmulh.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshl.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshl.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshlu.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsub.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsubr.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rax1.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_recpe.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rhadd.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshl.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshr.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsqrte.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsra.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sli.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4e.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4ekey.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sqadd.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sra.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sri.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1b.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1h.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1w.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublbt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subltb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwb.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2-bfloat.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx-bfloat.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_uqadd.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilege.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilegt.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw-bfloat.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr-bfloat.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr.c
  clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_xar.c
  clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2.cpp
  clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_aes_bitperm_sha3_sm4.cpp
  clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp



More information about the cfe-commits mailing list