[all-commits] [llvm/llvm-project] b940fe: [LoongArch] Add codegen support for conditional br...

wangleiat via All-commits all-commits at lists.llvm.org
Mon Jul 4 21:01:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b940fe6fe2af2297c71c322297cfab326363534e
      https://github.com/llvm/llvm-project/commit/b940fe6fe2af2297c71c322297cfab326363534e
  Author: wanglei <wanglei at loongson.cn>
  Date:   2022-07-05 (Tue, 05 Jul 2022)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchAsmPrinter.h
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchMCInstLower.cpp
    A llvm/test/CodeGen/LoongArch/ir-instruction/br.ll
    A llvm/test/CodeGen/LoongArch/ir-instruction/indirectbr.ll

  Log Message:
  -----------
  [LoongArch] Add codegen support for conditional branches

Setting ISD::BR_CC to Expand makes it much easier to deal with
matching the expanded form.

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




More information about the All-commits mailing list