[PATCH] D154919: [LoongArch] Implement isSExtCheaperThanZExt

hev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 22:39:04 PDT 2023


hev created this revision.
hev added reviewers: SixWeining, xen0n.
hev added a project: LLVM.
Herald added subscribers: hiraditya, qcolombet.
Herald added a project: All.
hev requested review of this revision.
Herald added a subscriber: llvm-commits.

Implement isSExtCheaperThanZExt.

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

Depends on D154918 <https://reviews.llvm.org/D154918>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D154919

Files:
  llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
  llvm/lib/Target/LoongArch/LoongArchISelLowering.h
  llvm/test/CodeGen/LoongArch/atomicrmw-uinc-udec-wrap.ll
  llvm/test/CodeGen/LoongArch/duplicate-returns-for-tailcall.ll
  llvm/test/CodeGen/LoongArch/get-setcc-result-type.ll
  llvm/test/CodeGen/LoongArch/ir-instruction/atomic-cmpxchg.ll
  llvm/test/CodeGen/LoongArch/ir-instruction/br.ll
  llvm/test/CodeGen/LoongArch/jump-table.ll
  llvm/test/CodeGen/LoongArch/nomerge.ll
  llvm/test/CodeGen/LoongArch/sext-cheaper-than-zext.ll
  llvm/test/CodeGen/LoongArch/shrinkwrap.ll
  llvm/test/CodeGen/LoongArch/spill-ra-without-kill.ll
  llvm/test/CodeGen/LoongArch/tail-calls.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154919.538918.patch
Type: text/x-patch
Size: 18026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230711/d6a2471b/attachment.bin>


More information about the llvm-commits mailing list