Commit 8b36d082 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[DAG] getNode() - fold (zext (trunc x)) -> x iff the upper bits are known zero - add SRL support

This is part of the work to address the D155472 regressions, there's a number of issues with generalizing this fold which is why I'm just adding SRL support atm.

Differential Revision: https://reviews.llvm.org/D159533
parent 142efd6d
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