[PATCH] D115688: [SelectionDAG] treat X constrained labels as i for asm
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 13 17:31:40 PST 2021
nickdesaulniers created this revision.
Herald added subscribers: ecnelises, pengfei, hiraditya.
nickdesaulniers requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Completely rework how we handle X constrained labels for inline asm.
X should really be treated as i. Then existing tests can be moved to use
i D115410 <https://reviews.llvm.org/D115410> and clang can just emit i D115311 <https://reviews.llvm.org/D115311>. (D115410 <https://reviews.llvm.org/D115410> and D115311 <https://reviews.llvm.org/D115311> are
callbr, but this can be done for label inputs, too).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D115688
Files:
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/test/CodeGen/AArch64/inlineasm-X-constraint.ll
llvm/test/CodeGen/X86/callbr-asm-bb-exports.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115688.394096.patch
Type: text/x-patch
Size: 6689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211214/6793bf1e/attachment.bin>
More information about the llvm-commits
mailing list