[PATCH] D139872: [llvm][CallBrPrepare] split critical edges
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 12 12:01:35 PST 2022
nickdesaulniers created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
nickdesaulniers requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
If we have a CallBrInst with output that's used, we need to split
critical edges so that we have some place to insert COPYs for physregs
to virtregs.
Part 2a of
https://discourse.llvm.org/t/rfc-syncing-asm-goto-with-outputs-with-gcc/65453/8.
Test cases and logic re-purposed from D138078 <https://reviews.llvm.org/D138078>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D139872
Files:
llvm/lib/CodeGen/CallBrPrepare.cpp
llvm/test/CodeGen/AArch64/callbr-prepare.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139872.482218.patch
Type: text/x-patch
Size: 9835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221212/fb764c8f/attachment.bin>
More information about the llvm-commits
mailing list