Unverified Commit ea2ee5dc authored by Simon Pilgrim's avatar Simon Pilgrim Committed by GitHub
Browse files

[DAG] Add legalization handling for AVGCEIL/AVGFLOOR nodes (#92096)

Always match AVG patterns pre-legalization, and use TargetLowering::expandAVG to expand again during legalization.

I've removed the X86 custom AVGCEILU pattern detection and replaced with combines to try and convert other AVG nodes to AVGCEILU.
parent ec16f44d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment