[PATCH] [LoopUnrollRuntime] Avoid high-cost trip count computation.

hfinkel at anl.gov hfinkel at anl.gov
Sun Apr 12 05:24:19 PDT 2015


You'll need to add a field in the UnrollingPreferences structure to control this. The makes a lot of sense on X86, where we only unroll small loops to fill the LSD's dispatch buffer (and they're still pretty small even after unrolling). On other targets we unroll to much larger sizes and the cost of a division is amortized over many more instructions and iterations.


http://reviews.llvm.org/D8994

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






More information about the llvm-commits mailing list