I've been going through Ian's asm-to-ir branch, pulling out some of the more standalone patches we could land prior to finishing up the rest, just to make his branch a bit more manageable. So here you are - 7 misc compiler patches.