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@loongson.cn>
Paths
| Differential D154818
[LoongArch] Add test case showing suboptimal codegen when loading unsigned char/short ClosedPublic Authored by hev on Jul 10 2023, 1:06 AM.
Details Summary 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@loongson.cn>
Diff Detail
Unit TestsFailed Event TimelineThis revision is now accepted and ready to land.Jul 10 2023, 6:15 AM Closed by commit rG90e08c260060: [LoongArch] Add test case showing suboptimal codegen when loading unsigned… (authored by hev, committed by SixWeining). · Explain WhyJul 24 2023, 2:50 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 538536 llvm/test/CodeGen/LoongArch/zext-with-load-is-free.ll
|