Large stack sizes should be mitigated by commit 674901b71834739cccf3f8665833dc125d1172b7.
REPORTED
RESOLVED FIXEDNow implemented for all but apple targets.
REPORTED
RESOLVED IMPLEMENTEDIt's documented behavior. "The shifting amount is taken modulo the size of the result type". 72 mod 64 == 8 and 2^8 == 256, so the code behaves according to spec. The constant folder even goes through a bit of sweat to guarantee that: https://c9x.me/git/qbe.git/tree/fold.c#n392
The rationale for this choice is that it's the natural behavior of all qbe targets. So shl in qbe is a simple machine shift left.
Comment by ~mpu on ~sircmpwn/hare
Can you provide an IL file that triggers the bug?