Commit b61b2426 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[DAG] getNode() - remove oneuse limit from (zext (trunc (assertzext x))) ->...

[DAG] getNode() - remove oneuse limit from (zext (trunc (assertzext x))) -> (assertzext x) fold (REAPPLIED)

Noticed on D159533 and I've finally dealt with the x86 regressions - MatchingStackOffset wasn't peeking through AssertZext nodes while trying to find CopyFromReg/Load sources, it was only removing them if they were part of a (trunc (assertzext x)) pattern.

Reapplied after being reverted at 4389252c - which should be addressed by D159537 / 6d267999
parent 10217b9d
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