[Attributor] Attributor call site specific AAValueConstantRange
authorkuterd <kuterdinel@gmail.com>
Sun, 24 Jan 2021 14:04:22 +0000 (17:04 +0300)
committerkuterd <kuterdinel@gmail.com>
Wed, 10 Mar 2021 22:19:44 +0000 (01:19 +0300)
commitd75c9e61a5a3a50203f68f7e329c9c670d267a98
tree5ee3bbd5a0ef73d35c7f2cc63fb6f70015b8ffc3
parentdaf36998694fd9a0beaf7e1659ae41a6d1079107
[Attributor] Attributor call site specific AAValueConstantRange

This patch makes uses of the context bridges introduced in D83299 to make
AAValueConstantRange call site specific.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D83744
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
llvm/test/Transforms/Attributor/cb_range_disabled.ll [new file with mode: 0644]
llvm/test/Transforms/Attributor/cb_range_enabled.ll [new file with mode: 0644]
llvm/unittests/Transforms/IPO/AttributorTest.cpp