Commit df308cab authored by John Regehr's avatar John Regehr
Browse files

fix some bad logic that was removing all successor phi nodes, not just

out of chunk ones. the non-default second argument to
removePredecessor() is necessary to avoid creating invalid IR on
examples like the one in the provided test case

Differential Revision: https://reviews.llvm.org/D131843
parent 83aa91bd
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