[all-commits] [llvm/llvm-project] 6e47eb: [LoongArch] Support ISD::BR_CC and branch accordin...

Gong LingQin via All-commits all-commits at lists.llvm.org
Wed Aug 31 20:00:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e47ebdcec770f12fe684261cb23f099277bc8f1
      https://github.com/llvm/llvm-project/commit/6e47ebdcec770f12fe684261cb23f099277bc8f1
  Author: gonglingqin <gonglingqin at loongson.cn>
  Date:   2022-09-01 (Thu, 01 Sep 2022)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    A llvm/test/CodeGen/LoongArch/double-br-fcmp.ll
    A llvm/test/CodeGen/LoongArch/float-br-fcmp.ll

  Log Message:
  -----------
  [LoongArch] Support ISD::BR_CC and branch according to condition flag register

Use bceqz/bcnez instead of movcf2gr + bnez/beqz for branch jumps.

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




More information about the All-commits mailing list