[PATCH] Allowing MC backends to decide relaxation based on fixup resolution

Jim Grosbach grosbach at apple.com
Fri Mar 20 10:21:36 PDT 2015


I don't follow. From your description, it's still true that a fixup won't need relaxation if it's already been resolved. It's only if it hasn't that you need to ask more questions to decide what to do. That is exactly what information the code currently provides to the backend. That is, the AsmBacked::fixupNeedsRelaxation() is only called if the fixup was not resolved. You can still decide how much relaxation to do (or not do) however you want.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8217

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






More information about the llvm-commits mailing list