Skip to content
Commit 076bee10 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[DAG] getNode() - fold (zext (trunc (assertzext x))) -> (assertzext x)

If the pre-truncated value was the same width as the extension, and the assertzext guarantees that the extended bits are already zero, then skip the zext/trunc 'zero_extend_inreg' pattern.

Addresses several regressions noticed in D155472
parent 60b98363
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment