mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2026-07-24 20:26:22 -04:00
b4e8df9113
If the incoming block to a phi node is an EH pad, then we will materialize into an EH pad, which is not supposed to happen. To fix this, I added a check to see if incoming block of a phi node is an EH pad before using it as the insertion point. Differential Revision: https://reviews.llvm.org/D95019