]> granicus.if.org Git - llvm/commit
[SCEV] Simplify tracking ExitNotTakenInfo instances; NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Sun, 25 Sep 2016 23:12:00 +0000 (23:12 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Sun, 25 Sep 2016 23:12:00 +0000 (23:12 +0000)
commita2d692b82c8dde9a5c0ce4d07ba2475523fc8c20
tree23de5903f65766422715b97286f9dee877339706
parentf4f66fe03386f7913b2a0210f39532c3c5bae4c6
[SCEV] Simplify tracking ExitNotTakenInfo instances; NFC

This change simplifies a data structure optimization in the
`BackedgeTakenInfo` class for loops with exactly one computable exit.

I've sanity checked that this does not regress compile time performance,
using sqlite3's amalgamated build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282365 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
lib/Analysis/ScalarEvolution.cpp