[PATCH] [SCEV] Look at backedge dominating conditions.

Sanjoy Das sanjoy at playingwithpointers.com
Thu Mar 26 01:20:19 PDT 2015


Hi atrick, hfinkel,

This change teaches ScalarEvolution::isLoopBackedgeGuardedByCond to look
at edges within the loop body that dominate the latch.  We don't do an
exhaustive search for all possible edges, but only a quick walk up the
dom tree.

http://reviews.llvm.org/D8627

Files:
  lib/Analysis/ScalarEvolution.cpp
  test/Analysis/ScalarEvolution/latch-dominating-conditions.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8627.22700.patch
Type: text/x-patch
Size: 3721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150326/3f9b2427/attachment.bin>


More information about the llvm-commits mailing list