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

[DAG] Fold (vt trunc (extload (vt x))) -> (vt load x) (#75229)

We were only folding cases which remained extloads, but DAG.getExtLoad can also handle the cases which don't need to extend at all (we just can't do truncloads).

reduceLoadWidth can handle this for scalar loads, but not for vectors.

Noticed while triaging D152928
parent a0a3c793
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