[PATCH] D69876: Allow output constraints on "asm goto"

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 5 18:20:26 PST 2019


void created this revision.
void added reviewers: jyknight, nickdesaulniers, hfinkel.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

THIS IS A WIP!

Remove the restrictions that preventing "asm goto" from returning non-void
values. The value returned by "asm goto" is only valid on the "normal" path.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69876

Files:
  clang/include/clang/AST/Stmt.h
  clang/lib/AST/Stmt.cpp
  clang/lib/Parse/ParseStmtAsm.cpp
  clang/lib/Sema/SemaStmtAsm.cpp
  clang/test/Parser/asm-goto.c
  clang/test/Parser/asm-goto.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69876.227992.patch
Type: text/x-patch
Size: 4935 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191106/86b34dc3/attachment-0001.bin>


More information about the cfe-commits mailing list