[all-commits] [llvm/llvm-project] 9a1a7d: [SVE] Add more warnings checks to clang and LLVM S...

david-arm via All-commits all-commits at lists.llvm.org
Tue Jul 7 01:39:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a1a7d888b53ebe5a934a8193de37da86e276f1e
      https://github.com/llvm/llvm-project/commit/9a1a7d888b53ebe5a934a8193de37da86e276f1e
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acge.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acgt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acle.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_aclt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpeq.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpge.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpgt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmple.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmplt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpne.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpuo.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_index.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ub.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1ub.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1uh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1uw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1ub.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1uh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1uw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pnext.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptrue.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_setffr.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_unpkhi.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_unpklo.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilele.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilelt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2.c
    M llvm/test/CodeGen/AArch64/sve-callbyref-notailcall.ll
    M llvm/test/CodeGen/AArch64/sve-calling-convention-byref.ll
    M llvm/test/CodeGen/AArch64/sve-fcmp.ll
    M llvm/test/CodeGen/AArch64/sve-gather-scatter-dag-combine.ll
    M llvm/test/CodeGen/AArch64/sve-gep.ll
    M llvm/test/CodeGen/AArch64/sve-int-arith-imm.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-ff-gather-loads-32bit-scaled-offsets.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-ff-gather-loads-32bit-unscaled-offsets.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-ff-gather-loads-64bit-scaled-offset.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-ff-gather-loads-64bit-unscaled-offset.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-ff-gather-loads-vector-base-imm-offset.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-ff-gather-loads-vector-base-scalar-offset.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-32bit-scaled-offsets.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-32bit-unscaled-offsets.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-64bit-scaled-offset.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-64bit-unscaled-offset.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-vector-base-imm-offset.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-vector-base-scalar-offset.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-int-arith-imm.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-ld1-addressing-mode-reg-imm.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-ld1-addressing-mode-reg-reg.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-ld1.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-ld1ro-addressing-mode-reg-reg.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-loads-ff.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-loads-nf.ll

  Log Message:
  -----------
  [SVE] Add more warnings checks to clang and LLVM SVE tests

There are now more SVE tests in LLVM and Clang that do not
emit warnings related to invalid use of EVT::getVectorNumElements()
and VectorType::getNumElements(). For these tests I have added
additional checks that there are no warnings in order to prevent
any future regressions.

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




More information about the All-commits mailing list