[PATCH] D140508: [clang] fix -Wuninitialized for asm goto outputs on indirect edges.
Nick Desaulniers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 21 15:12:23 PST 2022
nickdesaulniers created this revision.
Herald added a reviewer: NoQ.
Herald added a project: All.
nickdesaulniers requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Now that we support outputs from asm goto along indirect edges, we can
remove/revert some code that was added to help warn about the previous
limitation that outputs were not supported along indirect edges.
Reverts code added in:
commit 72aa619a7fe0 <https://reviews.llvm.org/rG72aa619a7fe0e2f90959b0614f6388c09aba8913> ("Warn of uninitialized variables on asm goto's indirect branch")
But keeps+updates the tests.
Link: https://github.com/llvm/llvm-project/issues/53562
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D140508
Files:
clang/lib/Analysis/UninitializedValues.cpp
clang/test/Analysis/uninit-asm-goto.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140508.484698.patch
Type: text/x-patch
Size: 4483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221221/2b63364f/attachment.bin>
More information about the cfe-commits
mailing list