From 46e96013a1aef280b0bbe9293a41fda24677746c Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 22 Jul 2009 22:44:56 +0000 Subject: Rename the new unsigned and signed keywords to nuw and nsw, which stand for no-unsigned-wrap and no-signed-wrap. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76810 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/AsmWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/VMCore/AsmWriter.cpp') diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 6e84af3..d9d8cc8 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -856,9 +856,9 @@ static void WriteOptimizationInfo(raw_ostream &Out, const User *U) { if (const OverflowingBinaryOperator *OBO = dyn_cast(U)) { if (OBO->hasNoUnsignedOverflow()) - Out << "unsigned "; + Out << "nuw "; if (OBO->hasNoSignedOverflow()) - Out << "signed "; + Out << "nsw "; } else if (const SDivOperator *Div = dyn_cast(U)) { if (Div->isExact()) Out << "exact "; -- cgit v1.1