[LoongArch] Implement isSExtCheaperThanZExt
authorWANG Rui <wangrui@loongson.cn>
Tue, 25 Jul 2023 01:39:47 +0000 (09:39 +0800)
committerWeining Lu <luweining@loongson.cn>
Tue, 25 Jul 2023 01:41:32 +0000 (09:41 +0800)
commite7c9a99dfe21bac8028375a52e3ce1db5c8924f0
treeba5bb234be1a578f435a04b760bb5d011ad6a82d
parent74720d1b338efb0725dd80bf3e59069700f6e2f0
[LoongArch] Implement isSExtCheaperThanZExt

Implement isSExtCheaperThanZExt.

Signed-off-by: WANG Rui <wangrui@loongson.cn>
Differential Revision: https://reviews.llvm.org/D154919
13 files changed:
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