diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp --- a/llvm/lib/IR/Attributes.cpp +++ b/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: