[PATCH] D69875: Allow "callbr" to return non-void values

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


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

THIS IS A WIP!

Remove the restrictions that preventing "callbr" from returning non-void
values. The value returned by "callbr" is only valid on the "normal" path.
Values used on "abnormal" paths are poisoned.

Allow output constraints on "asm goto"


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69875

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
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/IR/Verifier.cpp
  llvm/test/CodeGen/X86/callbr-asm-outputs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69875.227991.patch
Type: text/x-patch
Size: 7858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191106/e443bf25/attachment.bin>


More information about the cfe-commits mailing list