rengolin added a comment. This looks better now, taking the scheduling costs into account. Thanks! Though, I'm dubious as to whether AArch64InstrInfo.cpp is really the right place to land this. This looks like a job for a new pass... https://reviews.llvm.org/D21571