[PATCH] Add a speculative execution pass

Bjarke Hammersholt Roune broune at google.com
Wed May 6 11:49:08 PDT 2015


I promised to get back to you on a few things. I tried these versions overnight:

1. no changes,
2. as 1, but with the cost of a GEP as the number of non-constant indices + 1,
3. as 1, but with the cost function entirely replaced with TTI->getUserCost,
4. as 3, but still returning UINT_MAX when 1 does.

1, 2 and 4 were about the same while 3 was worse than the others. So I propose to go with 4 and I have updated the patch to that.


http://reviews.llvm.org/D9360

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






More information about the llvm-commits mailing list