discard compiler diagnostics for asm / IR output