[PATCH] D94470: [LSR] Don't break a critical edge if parent ends with "callbr"
Bill Wendling via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 11 22:05:15 PST 2021
void created this revision.
void added reviewers: nickdesaulniers, nathanchance.
Herald added a subscriber: hiraditya.
void requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The 'callbr' instruction doesn't have a good place to put values from a
split critical edge. This is similar to indirect branch and case switch
instructions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D94470
Files:
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
llvm/test/CodeGen/Generic/callbr-critical-edge-splitting.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94470.315993.patch
Type: text/x-patch
Size: 17528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210112/71677c03/attachment.bin>
More information about the llvm-commits
mailing list