[all-commits] [llvm/llvm-project] fd67e9: [DAG] Remove non-canonical AVG case.
David Green via All-commits
all-commits at lists.llvm.org
Mon Feb 6 09:24:38 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd67e9545da4cd2c1cc5ed54804afcab6ddc6258
https://github.com/llvm/llvm-project/commit/fd67e9545da4cd2c1cc5ed54804afcab6ddc6258
Author: David Green <david.green at arm.com>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Log Message:
-----------
[DAG] Remove non-canonical AVG case.
This removes a condition in the detection of AVG nodes, where we needn't be
checking the LHS of an add node as any const will be canonicalized to the RHS.
More information about the All-commits
mailing list