[all-commits] [llvm/llvm-project] 871651: [LoongArch] Implement branch analysis

wangleiat via All-commits all-commits at lists.llvm.org
Mon Aug 8 23:03:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8716513e65c4e8eb0530579e3a15e44de88c3b9a
      https://github.com/llvm/llvm-project/commit/8716513e65c4e8eb0530579e3a15e44de88c3b9a
  Author: wanglei <wanglei at loongson.cn>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
    A llvm/test/CodeGen/LoongArch/analyze-branch.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/br.ll
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/loongarch_generated_funcs.ll.generated.expected
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/loongarch_generated_funcs.ll.nogenerated.expected

  Log Message:
  -----------
  [LoongArch] Implement branch analysis

This allows a number of optimisation passes to work.
E.g. BranchFolding and MachineBlockPlacement.

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




More information about the All-commits mailing list