[Attributor][FIX] Deal with implicit `undef` in AAPotentialConstantValues.
authorJohannes Doerfert <johannes@jdoerfert.de>
Thu, 4 Aug 2022 18:13:40 +0000 (13:13 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 4 Aug 2022 19:44:51 +0000 (14:44 -0500)
commitf81a209337bbcf527e0b4adfcfedb44d798ac91d
tree7718af4cb0a65083087260cae71c1cd4234533b0
parent63295622491a31eaccb6c534ba5caa836beb843f
[Attributor][FIX] Deal with implicit `undef` in AAPotentialConstantValues.

In contrast to AAPotentialValues, the constant values version can
contain implicit `undef` in the set. We had an assertion that could
misfire before. Handle it properly now.
llvm/lib/Transforms/IPO/AttributorAttributes.cpp