Open
Description
This is the old simple preopt stuff for some number divided/remaindered by a non-power-of-two constant:
The ISLE + e-graphs mid-end work replaced simple_preopt
, but never ported these magic constants over. We should port them over.
HOWEVER, right now we can't replace potentially-trapping instructions in ISLE, and we need that ability to do this.