Unverified Commit f7d354af authored by yandalur's avatar yandalur Committed by GitHub
Browse files

[Hexagon] Fix shift value when folding shl DAG node (#83853)



When folding (or (shl xx, s), (zext y)) to (COMBINE (shl xx, s-32), y),
fix resulting shift value in HexagonISD::COMBINE node to not generate
negative values.

---------

Co-authored-by: default avatarYashas Andaluri <yandalur@qti.qualcomm.com>
parent 6d3bb854
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