[PATCH] [ARM] Be Conservative when coalescing into SP

Quentin Colombet qcolombet at apple.com
Fri Jun 5 15:38:26 PDT 2015


Hi,

The proposed target hook is not flexible enough IMHO.
What if the reserved register is a source register?
What if the destination MI has several destination register, which one are we looking at?

I believe the right answer would be: provide the ReservedReg and the operand index.

Thanks,
-Quentin

PS: Please upload the context with your patch. This helps reviewing.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10287

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list