[PATCH] [ARM] Use function attribute "arm-long-calls"

Akira Hatanaka ahatanak at gmail.com
Wed May 6 14:34:17 PDT 2015


In http://reviews.llvm.org/D9364#167199, @echristo wrote:

> I see you've kept the override here, any reason? :)


I didn't rewrite attribute "arm-long-calls" in the IR in ARMISelLowering.cpp because MachineFunction::Fn is a pointer to a constant. Also, I thought "arm-long-calls" should be handled in lib/Target/ARM since it is an ARM-specific option, and hence didn't rewrite it in llc.cpp as I did to allow overriding "target-cpu" and "target-features" (those are target-independent options).

Did I understand your question correctly?


http://reviews.llvm.org/D9364

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






More information about the llvm-commits mailing list