[all-commits] [llvm/llvm-project] 0bd925: [X86] Improve KnownBits for X86ISD::PSADBW nodes (...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Mar 6 09:23:27 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0bd9255f8ad9f321dd606365e2bc28447a9976cb
https://github.com/llvm/llvm-project/commit/0bd9255f8ad9f321dd606365e2bc28447a9976cb
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-06 (Wed, 06 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/psadbw.ll
M llvm/test/CodeGen/X86/sad.ll
Log Message:
-----------
[X86] Improve KnownBits for X86ISD::PSADBW nodes (#83830)
Don't just return the known zero upperbits, compute the absdiff Knownbits and perform the horizontal sum.
Add implementations that handle both the X86ISD::PSADBW nodes and the INTRINSIC_WO_CHAIN intrinsics (pre-legalization).
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