[LoongArch] Move illegal ImmArg tests to llvm/test/Verifier
authorgonglingqin <gonglingqin@loongson.cn>
Sat, 7 Jan 2023 02:38:41 +0000 (10:38 +0800)
committergonglingqin <gonglingqin@loongson.cn>
Sat, 7 Jan 2023 04:10:13 +0000 (12:10 +0800)
commit2c174a53d50bff301234c08d9ba130e1f0d22e28
treee674c0ddd6e954a0d15fb7bde0fd52438eb25fb9
parent1758a6e23bbc797ed29a80691b9e5329367f497a
[LoongArch] Move illegal ImmArg tests to llvm/test/Verifier

This patch also fixes incorrect function declarations in test cases
and remove -disable-verify from the test case.

Fix https://github.com/llvm/llvm-project/issues/59839
llvm/test/CodeGen/LoongArch/frameaddr-returnaddr-error.ll [deleted file]
llvm/test/CodeGen/LoongArch/intrinsic-la32-error.ll
llvm/test/CodeGen/LoongArch/returnaddr-error.ll [new file with mode: 0644]
llvm/test/Verifier/LoongArch/intrinsic-immarg.ll [new file with mode: 0644]
llvm/test/Verifier/LoongArch/lit.local.cfg [new file with mode: 0644]