[all-commits] [llvm/llvm-project] d6f1c8: [LoongArch] Implement TargetLowering::isLegalAddre...

Gong LingQin via All-commits all-commits at lists.llvm.org
Wed Feb 1 22:16:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d6f1c85edb36e789307ceebcba6e096bd7f958a7
      https://github.com/llvm/llvm-project/commit/d6f1c85edb36e789307ceebcba6e096bd7f958a7
  Author: gonglingqin <gonglingqin at loongson.cn>
  Date:   2023-02-02 (Thu, 02 Feb 2023)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/test/CodeGen/LoongArch/ldptr.ll
    M llvm/test/CodeGen/LoongArch/stptr.ll

  Log Message:
  -----------
  [LoongArch] Implement TargetLowering::isLegalAddressingMode() hook

Use the exact addressing mode information instead of the default to
make better use of offsets in instructions.

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




More information about the All-commits mailing list