[PATCH] Thumb2: When applying branch optimizations, visit branches in reverse order.

Renato Golin renato.golin at linaro.org
Thu Apr 23 12:23:40 PDT 2015


Got it! So if you have multiple jumps, you'd increase the range in which the optimization could work by a few bytes, but not much more than that. And you'd have to have a long enough branch (but not longer) and multiple branches in between. Quite the corner case. :)

But since the change makes no difference (at all) in compile time and, AFAICT, semantically equivalent, LGTM, thanks!


http://reviews.llvm.org/D9185

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






More information about the llvm-commits mailing list