[all-commits] [llvm/llvm-project] 42dccf: [LoongArch] Implement isLegalAddImmediate

hev via All-commits all-commits at lists.llvm.org
Mon Jul 24 02:18:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42dccf9c16f6fd3ced938e989ed8c5f6284c5c4a
      https://github.com/llvm/llvm-project/commit/42dccf9c16f6fd3ced938e989ed8c5f6284c5c4a
  Author: WANG Rui <wangrui at loongson.cn>
  Date:   2023-07-24 (Mon, 24 Jul 2023)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/test/CodeGen/LoongArch/ir-instruction/and.ll

  Log Message:
  -----------
  [LoongArch] Implement isLegalAddImmediate

This brings a trivial improvement in the and-add-lsr.ll test case.

Signed-off-by: WANG Rui <wangrui at loongson.cn>

Reviewed By: SixWeining, xen0n

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




More information about the All-commits mailing list