[all-commits] [llvm/llvm-project] 077385: [DAG] Fold trunc(avg(x, y)) for avgceil/floor u/s n...
黃國庭 via All-commits
all-commits at lists.llvm.org
Mon Aug 18 08:36:48 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 07738545758be942cb674254ed4bc6d12db48563
https://github.com/llvm/llvm-project/commit/07738545758be942cb674254ed4bc6d12db48563
Author: 黃國庭 <we3223 at gmail.com>
Date: 2025-08-18 (Mon, 18 Aug 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
A llvm/test/CodeGen/AArch64/trunc-avg-fold.ll
Log Message:
-----------
[DAG] Fold trunc(avg(x,y)) for avgceil/floor u/s nodes if they have sufficient leading zero/sign bits (#152273)
avgceil version : https://alive2.llvm.org/ce/z/2CKrRh
Fixes #147773
---------
Co-authored-by: Simon Pilgrim <llvm-dev at redking.me.uk>
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