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
Paths
| Differential D157570
[LoongArch] Add testcases of LSX intrinsics with immediates ClosedPublic Authored by leecheechen on Aug 9 2023, 7:58 PM.
Details Summary The testcases mainly cover three situations:
Depends on D155829
Diff Detail
Event TimelineThis comment was removed by leecheechen. This revision is now accepted and ready to land.Aug 10 2023, 12:14 AM This revision was landed with ongoing or failed builds.Aug 20 2023, 8:05 PM Closed by commit rG0c76f46ca676: [LoongArch] Add testcases of LSX intrinsics with immediates (authored by • chenli, committed by wangleiat). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 551883 llvm/test/CodeGen/LoongArch/lsx/intrinsic-addi-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-addi-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-andi-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-andi-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitclr-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitclr-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitrev-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitrev-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitseli-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitseli-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitset-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-bitset-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-bsll-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-bsll-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-bsrl-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-bsrl-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-extrins-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-extrins-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-frstp-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-frstp-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-insgr2vr-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-insgr2vr-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ld-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ld-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ldi-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ldi-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ldrepl-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ldrepl-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-max-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-max-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-min-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-min-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-nori-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-nori-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ori-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ori-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-permi-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-permi-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-pickve2gr-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-pickve2gr-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-replvei-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-replvei-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-rotr-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-rotr-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-sat-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-sat-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-seq-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-seq-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-shuf4i-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-shuf4i-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-sle-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-sle-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-sll-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-sll-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-sllwil-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-sllwil-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-slt-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-slt-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-sra-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-sra-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srani-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srani-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srar-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srar-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srarni-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srarni-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srl-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srl-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srlni-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srlni-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srlr-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srlr-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srlrni-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-srlrni-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrani-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrani-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrarni-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrarni-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrlni-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrlni-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrlrni-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-ssrlrni-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-st-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-st-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-stelm-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-stelm-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-subi-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-subi-non-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-xori-invalid-imm.ll
llvm/test/CodeGen/LoongArch/lsx/intrinsic-xori-non-imm.ll
|