[CSKY] Fix the testcase error due to the verifyInstructionPredicates
authorZi Xuan Wu (Zeson) <zixuan.wu@linux.alibaba.com>
Thu, 21 Jul 2022 07:48:42 +0000 (15:48 +0800)
committerZi Xuan Wu <zixuan.wu@linux.alibaba.com>
Thu, 21 Jul 2022 07:53:50 +0000 (15:53 +0800)
commit08db089124a49f0f97a1a6db9d1a85e5886d1eb7
tree795e0daf83aec96c102eef36a3eff331ff586c57
parentecdeabef385d13bc0c3b935cc56b09883fd7b108
[CSKY] Fix the testcase error due to the verifyInstructionPredicates

- Test cases for arch only has 16-bit instruction such as ck801/ck802 need
compile with -mattr=+btst16
- Fix the GPR copy instruction with MOV16 for 16-bit only arch.
llvm/lib/Target/CSKY/CSKYInstrInfo.cpp
llvm/test/CodeGen/CSKY/base-i.ll
llvm/test/CodeGen/CSKY/br.ll
llvm/test/CodeGen/CSKY/call-16bit.ll
llvm/test/CodeGen/CSKY/cmp-i.ll
llvm/test/CodeGen/CSKY/fpu/select.ll
llvm/test/CodeGen/CSKY/inline-asm-abi-names.ll
llvm/test/CodeGen/CSKY/select.ll