HomePhabricator

[CodeGen] Postprocess PHI nodes for callbr

Authored by void on Aug 19 2020, 7:51 PM.

Description

[CodeGen] Postprocess PHI nodes for callbr

When processing PHI nodes after a callbr, we need to make sure that the
PHI nodes on the default branch are resolved after the callbr
(inserted after INLINEASM_BR). The PHI node values on the indirect
branches are processed before the INLINEASM_BR.

Differential Revision: https://reviews.llvm.org/D86260