[all-commits] [llvm/llvm-project] 0c76f4: [LoongArch] Add testcases of LSX intrinsics with i...

wanglei via All-commits all-commits at lists.llvm.org
Sun Aug 20 20:05:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c76f46ca676ebecbdf2c9f7e8b05421a234bbed
      https://github.com/llvm/llvm-project/commit/0c76f46ca676ebecbdf2c9f7e8b05421a234bbed
  Author: chenli <chenli at loongson.cn>
  Date:   2023-08-21 (Mon, 21 Aug 2023)

  Changed paths:
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-addi-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-addi-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-andi-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-andi-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitclr-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitclr-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitrev-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitrev-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitseli-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitseli-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitset-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitset-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-bsll-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-bsll-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-bsrl-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-bsrl-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-extrins-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-extrins-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-frstp-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-frstp-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-insgr2vr-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-insgr2vr-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ld-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ld-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ldi-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ldi-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ldrepl-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ldrepl-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-max-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-max-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-min-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-min-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-nori-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-nori-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ori-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ori-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-permi-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-permi-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-pickve2gr-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-pickve2gr-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-replvei-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-replvei-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-rotr-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-rotr-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-sat-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-sat-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-seq-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-seq-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-shuf4i-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-shuf4i-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-sle-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-sle-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-sll-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-sll-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-sllwil-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-sllwil-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-slt-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-slt-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-sra-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-sra-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srani-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srani-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srar-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srar-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srarni-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srarni-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srl-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srl-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srlni-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srlni-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srlr-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srlr-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srlrni-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-srlrni-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrani-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrani-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrarni-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrarni-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrlni-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrlni-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrlrni-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrlrni-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-st-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-st-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-stelm-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-stelm-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-subi-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-subi-non-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-xori-invalid-imm.ll
    A llvm/test/CodeGen/LoongArch/lsx/intrinsic-xori-non-imm.ll

  Log Message:
  -----------
  [LoongArch] Add testcases of LSX intrinsics with immediates

The testcases mainly cover three situations:
- the arguments which should be immediates are non immediates.
- the immediate is out of upper limit of the argument type.
- the immediate is out of lower limit of the argument type.

Depends on D155829

Reviewed By: SixWeining

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




More information about the All-commits mailing list