[M3devel] m3cg right shift signed?

Jay jay.krell at cornell.edu
Tue Jun 9 03:44:07 CEST 2015


(Not at propercomputer but sending anyway.)

Is right shift of a signed type meant to be supported and well defined in the IR? I thought not, and assert so in the C backend. But it occurs now, from m3front/cg/set_range or such. Maybe change that to not? Surely unsigned types are adequate here?

 - Jay


More information about the M3devel mailing list