[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:
Yashas Andaluri <yandalur@qti.qualcomm.com>
parent
6d3bb854
Please register or sign in to comment