Unverified Commit 5259e14e authored by Finn Plummer's avatar Finn Plummer Committed by GitHub
Browse files

[mlir][spirv] Add folding for [S|U]Mod, [S|U]Div, SRem (#73341)

Add missing constant propogation folder for [S|U]Mod, [S|U]Div, SRem

Implement additional folding when rhs is 1 for all ops.

This helps for readability of lowered code into SPIR-V.

Part of work for #70704
parent 749d595d
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