[Attributor][FIX] Do not RAUW void values
authorJohannes Doerfert <johannes@jdoerfert.de>
Fri, 14 Feb 2020 02:10:59 +0000 (20:10 -0600)
committerJohannes Doerfert <johannes@jdoerfert.de>
Sat, 15 Feb 2020 03:44:46 +0000 (21:44 -0600)
commitb4352e43d86e0b2ab93665e46c9cb9bddef3fd7a
treee48fcceb9b34873b85f0a4cc5a4ef23f832d9b3a
parent89fa653d721458f84df12d4e8b4ca4708a34792a
[Attributor][FIX] Do not RAUW void values

This caused an error when passes iterated over cached assumptions in the
tracker and assumed them to be `null` or an instruction. I failed to
create a test case so far.
llvm/lib/Transforms/IPO/Attributor.cpp