[all-commits] [llvm/llvm-project] 20a9be: Revert "[LoongArch] Lowering flog2 to flogb (#1629...
wanglei via All-commits
all-commits at lists.llvm.org
Tue Jan 20 07:44:58 PST 2026
Branch: refs/heads/release/22.x
Home: https://github.com/llvm/llvm-project
Commit: 20a9be33d173d3f83612b655f522b721ff51ec1a
https://github.com/llvm/llvm-project/commit/20a9be33d173d3f83612b655f522b721ff51ec1a
Author: wanglei <wanglei at loongson.cn>
Date: 2026-01-20 (Tue, 20 Jan 2026)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
M llvm/test/CodeGen/LoongArch/ir-instruction/flog2.ll
M llvm/test/CodeGen/LoongArch/lasx/ir-instruction/flog2.ll
M llvm/test/CodeGen/LoongArch/lsx/ir-instruction/flog2.ll
Log Message:
-----------
Revert "[LoongArch] Lowering flog2 to flogb (#162978)"
This reverts commit d9e5e725ed33e462477d5559ffece0d08e9c8dad.
The semantics of `flog2(x)` and `logb(x)` are different.
Fixes: https://github.com/llvm/llvm-project/issues/176818
Reviewers: zhaoqi5, SixWeining, ylzsx
Pull Request: https://github.com/llvm/llvm-project/pull/176850
(cherry picked from commit 009e0ccbbcb5d33dcf864efea177a82175962816)
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