[PATCH] D154818: [LoongArch] Add test case showing suboptimal codegen when loading unsigned char/short

hev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 01:06:42 PDT 2023


hev created this revision.
hev added reviewers: SixWeining, xen0n.
hev added a project: LLVM.
Herald added subscribers: s.egerton, simoncook, asb.
Herald added a project: All.
hev requested review of this revision.
Herald added subscribers: llvm-commits, wangpc.

Implementing isZextFree will allow ld.bu or ld.hu to be selected rather than ld.b+mask and ld.h+mask.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D154818

Files:
  llvm/test/CodeGen/LoongArch/zext-with-load-is-free.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154818.538536.patch
Type: text/x-patch
Size: 4066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230710/8ad577b4/attachment.bin>


More information about the llvm-commits mailing list