diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-22 22:44:56 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-22 22:44:56 +0000 |
commit | 46e96013a1aef280b0bbe9293a41fda24677746c (patch) | |
tree | ef05ab4b5cfa9dd455f4d6b406b4bbacdaeda956 /test/Assembler/flags-unsigned.ll | |
parent | d7d71ae30947b79b3efd8e894ab9d06d56c52abe (diff) | |
download | external_llvm-46e96013a1aef280b0bbe9293a41fda24677746c.zip external_llvm-46e96013a1aef280b0bbe9293a41fda24677746c.tar.gz external_llvm-46e96013a1aef280b0bbe9293a41fda24677746c.tar.bz2 |
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
Diffstat (limited to 'test/Assembler/flags-unsigned.ll')
-rw-r--r-- | test/Assembler/flags-unsigned.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Assembler/flags-unsigned.ll b/test/Assembler/flags-unsigned.ll index 1526db0..cd051af 100644 --- a/test/Assembler/flags-unsigned.ll +++ b/test/Assembler/flags-unsigned.ll @@ -3,16 +3,16 @@ @addr = external global i64 define i64 @add_unsigned_ce() { -; CHECK: ret i64 unsigned add (i64 ptrtoint (i64* @addr to i64), i64 91) - ret i64 unsigned add (i64 ptrtoint (i64* @addr to i64), i64 91) +; CHECK: ret i64 nuw add (i64 ptrtoint (i64* @addr to i64), i64 91) + ret i64 nuw add (i64 ptrtoint (i64* @addr to i64), i64 91) } define i64 @sub_unsigned_ce() { -; CHECK: ret i64 unsigned sub (i64 ptrtoint (i64* @addr to i64), i64 91) - ret i64 unsigned sub (i64 ptrtoint (i64* @addr to i64), i64 91) +; CHECK: ret i64 nuw sub (i64 ptrtoint (i64* @addr to i64), i64 91) + ret i64 nuw sub (i64 ptrtoint (i64* @addr to i64), i64 91) } define i64 @mul_unsigned_ce() { -; CHECK: ret i64 unsigned mul (i64 ptrtoint (i64* @addr to i64), i64 91) - ret i64 unsigned mul (i64 ptrtoint (i64* @addr to i64), i64 91) +; CHECK: ret i64 nuw mul (i64 ptrtoint (i64* @addr to i64), i64 91) + ret i64 nuw mul (i64 ptrtoint (i64* @addr to i64), i64 91) } |