> So what can we do? We can make the if-conversion pass avoid emitting > conditional moves when it results in using additional registers. But > although we know it's good on arm, we cannot say the same for other > architectures. However we can add a flag and enable it on arm by > default.
Ideally this should be parameterized purely by insn costs. -- Eric Botcazou