[PATCH] D86260: [CodeGen] Postprocess PHI nodes for callbr
Bill Wendling via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 19 19:58:04 PDT 2020
void created this revision.
void added reviewers: nickdesaulniers, jyknight.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
void requested review of this revision.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86260
Files:
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
llvm/test/CodeGen/X86/callbr-asm-phi-nodes.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86260.286704.patch
Type: text/x-patch
Size: 4247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200820/274b0651/attachment.bin>
More information about the llvm-commits
mailing list