[all-commits] [llvm/llvm-project] 70b8b7: [CSKY] Fix the btsti16 instruction missing in gene...

Zi Xuan Wu (Zeson) via All-commits all-commits at lists.llvm.org
Wed Jul 27 02:39:33 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70b8b738c5794799e9807549e5058d9570176918
  Author: Zi Xuan Wu (Zeson) <zixuan.wu at linux.alibaba.com>
  Date:   2022-07-27 (Wed, 27 Jul 2022)

  Changed paths:
    M llvm/lib/Target/CSKY/CSKY.td
    M llvm/test/CodeGen/CSKY/atomic-rmw.ll
    M llvm/test/CodeGen/CSKY/base-i.ll
    M llvm/test/CodeGen/CSKY/br.ll
    M llvm/test/CodeGen/CSKY/cmp-i.ll
    M llvm/test/CodeGen/CSKY/fpu/br-d.ll
    M llvm/test/CodeGen/CSKY/fpu/br-f.ll
    M llvm/test/CodeGen/CSKY/fpu/select.ll
    M llvm/test/CodeGen/CSKY/select.ll

  Log Message:
  [CSKY] Fix the btsti16 instruction missing in generic processor

Normally, generic processor does not have any SubtargetFeature. And it
can just generate most basic instructions which have no Predicates to

But it needs to enbale predicate for the btsti16 instruction as one of the most basic instructions.
Or the generic processor can't finish codegen process. So Add FeatureBTST16 SubtargetFeature to generic ProcessorModel.

More information about the All-commits mailing list