[all-commits] [llvm/llvm-project] 0f47e3: [LoongArch] Eliminate the redundant sign extension...
hev via All-commits
all-commits at lists.llvm.org
Tue Sep 10 01:52:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0f47e3aebdd2a4a938468a272ea4224552dbf176
https://github.com/llvm/llvm-project/commit/0f47e3aebdd2a4a938468a272ea4224552dbf176
Author: hev <wangrui at loongson.cn>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchOptWInstrs.cpp
M llvm/test/CodeGen/LoongArch/ir-instruction/sdiv-udiv-srem-urem.ll
Log Message:
-----------
[LoongArch] Eliminate the redundant sign extension of division (#107971)
If all incoming values of `div.d` are sign-extended and all users only
use the lower 32 bits, then convert them to W versions.
Fixes: #107946
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list