Files
clang-p2996/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
David Sherwood b9dd60228c [DAGCombiner] Remove a hasOneUse check in visitAND (#115142)
For some reason there was a hasOneUse check on the splat for the
second operand and it's not obvious to me why. The check blocks
optimisations for lowering of nodes like AVGFLOORU and AVGCEILU.

In a follow-on patch I also plan to improve the generated code
for AVGCEILU further by teaching computeKnownBits about
zero-extending masked loads.
2024-11-08 08:20:31 +00:00

1.1 MiB