[PATCH] [LoopReroll] Run LICM before Loop Rerolling.

James Molloy james.molloy at arm.com
Mon Feb 16 09:38:21 PST 2015


Hi Hal,

Hmm yeah, good questions. I can do (1). I hadn't remembered that SE had a function for this - I was trying to avoid implementing LICM myself!

But I'm not sure if I should do (1) because of (2). In my testcase, which is fairly difficult to reduce, we end up with a stray invariant multiply which is not the cheapest thing in the world. Perhaps adding another LICM regardless of Rerolling is the right way to go after all?


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7674

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






More information about the llvm-commits mailing list