[PATCH] D120030: Remove duplicated code for printing the `uwtable` attribute (NFC)
Momchil Velikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 17 04:25:21 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG030503e17cae: Remove duplicated code for printing the `uwtable` attribute (NFC) (authored by chill).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120030/new/
https://reviews.llvm.org/D120030
Files:
llvm/lib/IR/Attributes.cpp
Index: llvm/lib/IR/Attributes.cpp
===================================================================
--- llvm/lib/IR/Attributes.cpp
+++ llvm/lib/IR/Attributes.cpp
@@ -446,14 +446,6 @@
Twine(Kind == UWTableKind::Sync ? "sync" : "async") + ")")
.str();
}
-
- if (Kind != UWTableKind::None) {
- if (Kind == UWTableKind::Default)
- return "uwtable";
- return ("uwtable(" + Twine(Kind == UWTableKind::Sync ? "sync" : "async") +
- ")")
- .str();
- }
}
// Convert target-dependent attributes to strings of the form:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120030.409587.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220217/2f154f2e/attachment.bin>
More information about the llvm-commits
mailing list