[Attributor][FIX] Do not compute ranges for arguments of declarations
authorJohannes Doerfert <johannes@jdoerfert.de>
Mon, 23 Mar 2020 06:11:39 +0000 (01:11 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 2 Apr 2020 03:05:30 +0000 (22:05 -0500)
commitac96c8fd8535b50ab5ac158f521b0be8800df6fd
treeac1c57a212b4404ba242d5e687a7c8ba369569be
parenta8b2fed0aef99be3efd11f8eec26df5a7d42fde2
[Attributor][FIX] Do not compute ranges for arguments of declarations

This cannot be triggered right now, as far as I know, but it doesn't
make sense to deduce a constant range on arguments of declarations.
Exposed during testing of AAValueSimplify extensions.
llvm/lib/Transforms/IPO/Attributor.cpp