[PATCH] D142874: [LoongArch] Implement TargetLowering::isLegalAddressingMode() hook

Gong LingQin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 00:55:19 PST 2023


gonglingqin created this revision.
gonglingqin added reviewers: xen0n, xry111, SixWeining, wangleiat, MaskRay.
Herald added a subscriber: hiraditya.
Herald added a project: All.
gonglingqin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142874

Files:
  llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
  llvm/lib/Target/LoongArch/LoongArchISelLowering.h
  llvm/test/CodeGen/LoongArch/ldptr.ll
  llvm/test/CodeGen/LoongArch/stptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142874.493224.patch
Type: text/x-patch
Size: 4758 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230130/167c56ef/attachment.bin>


More information about the llvm-commits mailing list