[Attributor] Automatically deal with undef values for IRAttributes
authorJohannes Doerfert <johannes@jdoerfert.de>
Wed, 30 Oct 2019 22:33:33 +0000 (17:33 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 31 Oct 2019 01:41:36 +0000 (20:41 -0500)
commit4318d3c64ccd0e172c1ac108ff8d646330bfd4b3
treeed671ca77407c4fb02bf7eb7e46652f97ef264ac
parent3598b810029dee4abfd5545f02ec256d33f79e71
[Attributor] Automatically deal with undef values for IRAttributes

For (almost) all IRAttribute we can derive whatever we want for undef
values so it makes sense to provide this functionality in the base
class. At the same time, we probably do not want to annotate them.
llvm/include/llvm/Transforms/IPO/Attributor.h