OSDN Git Service

[LICM] Restructure implicit exit handling to be more clear [NFCI]
authorPhilip Reames <listmail@philipreames.com>
Thu, 26 Oct 2017 21:00:15 +0000 (21:00 +0000)
committerPhilip Reames <listmail@philipreames.com>
Thu, 26 Oct 2017 21:00:15 +0000 (21:00 +0000)
commitfa00b3d52d6ccd9d585b3445b2476f3ce9636554
tree9eded61eb859b63a2e304e010fe60a0961b6f21e
parent1af8077b28047f58b1288007b6510d537f09552f
[LICM] Restructure implicit exit handling to be more clear [NFCI]

When going to explain this to someone else, I got tripped up by the complicated meaning of IsKnownNonEscapingObject in load-store promotion.  Extract a helper routine and clarify naming/scopes to make this a bit more obvious.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316699 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LICM.cpp