[all-commits] [llvm/llvm-project] e413f6: [LoongArch] Propagate demanded bits for CRC[C].W.{...
hev via All-commits
all-commits at lists.llvm.org
Sun Jun 14 20:15:13 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e413f6e780a932606b0ba48d7bf61ba5724c48b8
https://github.com/llvm/llvm-project/commit/e413f6e780a932606b0ba48d7bf61ba5724c48b8
Author: hev <wangrui at loongson.cn>
Date: 2026-06-15 (Mon, 15 Jun 2026)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/test/CodeGen/LoongArch/crc.ll
Log Message:
-----------
[LoongArch] Propagate demanded bits for CRC[C].W.{B,H}.W (#203201)
CRC byte and halfword instructions only use the low 8 or 16 bits of
their data operand. Propagate these demanded-bit requirements through
SimplifyDemandedBitsForTargetNode() so redundant masking operations can
be removed during DAG combining.
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