diff options
author | WANG Rui <wangrui@loongson.cn> | 2023-07-24 17:47:09 +0800 |
---|---|---|
committer | Weining Lu <luweining@loongson.cn> | 2023-07-24 17:49:25 +0800 |
commit | 9c21f9554114d00cda0d022f3e5a8d8fa6ddbe90 (patch) | |
tree | c245263d7114bb04633b91d7b62227fdbf0c7f7b /llvm/lib/Analysis/ValueTracking.cpp | |
parent | 90e08c260060b3cb0df31735117fd7d4331d9c64 (diff) | |
download | llvm-9c21f9554114d00cda0d022f3e5a8d8fa6ddbe90.zip llvm-9c21f9554114d00cda0d022f3e5a8d8fa6ddbe90.tar.gz llvm-9c21f9554114d00cda0d022f3e5a8d8fa6ddbe90.tar.bz2 |
[LoongArch] Implement isZextFree
This returns true for 8-bit and 16-bit loads, allowing ld.bu/ld.hu to be selected and avoiding unnecessary masks.
Signed-off-by: WANG Rui <wangrui@loongson.cn>
Reviewed By: SixWeining, xen0n
Differential Revision: https://reviews.llvm.org/D154819
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions