[Attributor] Use known alignment as lower bound to avoid work
authorJohannes Doerfert <johannes@jdoerfert.de>
Mon, 1 Mar 2021 23:10:01 +0000 (17:10 -0600)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 4 Mar 2021 06:35:52 +0000 (00:35 -0600)
commitf3f88287c5842dc166d0889cc4474e10b558db0b
treea3a47b85a43b9ccb17d776f7bdb2ee72aff6d9ed
parentc14213e030a98f4e1424358ecf69963f531a4949
[Attributor] Use known alignment as lower bound to avoid work

If we know already more than available from a use, we don't need to
invest time on it.
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
llvm/test/Transforms/Attributor/depgraph.ll