[all-commits] [llvm/llvm-project] 6d3407: Reland: "[LoongArch] Use tablegen size for getInst...

Xiaodong Liu via All-commits all-commits at lists.llvm.org
Tue Dec 6 23:52:00 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d34074d86002db04a6d5f1a716e25ebfdc68f64
      https://github.com/llvm/llvm-project/commit/6d34074d86002db04a6d5f1a716e25ebfdc68f64
  Author: Xiaodong Liu <liuxiaodong at loongson.cn>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    A llvm/unittests/Target/LoongArch/CMakeLists.txt
    A llvm/unittests/Target/LoongArch/InstSizes.cpp

  Log Message:
  -----------
  Reland: "[LoongArch] Use tablegen size for getInstSizeInBytes"

Correct the pseudo atomic instruction size for branch
relaxation and branch folding passes.

Inspired by D118175, D118009 and D117970.

Depends on D138481

Reviewed By: SixWeining, gonglingqin, xen0n

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




More information about the All-commits mailing list