Commit 5d64ad85 authored by Johannes Doerfert's avatar Johannes Doerfert
Browse files

[Attributor][FIX] Avoid creating accidental poison callees

Back with f3ad8cf0 we introduced a bug that caused us to skip
callees when we replace uses. This is not sound since subsequent IR
cleanup will assume replacement has happend. As such we created poison
callees for a long while. The original intend of the check was to
prevent call graph invalidation, however, we now properly check if the
instructions (here the call) are inside the SCC or not.
parent 01e8e50c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment