compiler: Fixes according to new IR format