aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/flags-signed.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-27 16:11:46 +0000
committerDan Gohman <gohman@apple.com>2009-07-27 16:11:46 +0000
commit59858cf7926702596cf708daf21aeaf5b6feedf8 (patch)
treeb52ea8f18ab6085d001e07243bff4dcbb8461176 /test/Assembler/flags-signed.ll
parent07ad19b509530b43e6a9acc5c1285cb560dd7198 (diff)
downloadexternal_llvm-59858cf7926702596cf708daf21aeaf5b6feedf8.zip
external_llvm-59858cf7926702596cf708daf21aeaf5b6feedf8.tar.gz
external_llvm-59858cf7926702596cf708daf21aeaf5b6feedf8.tar.bz2
Change the assembly syntax for nsw, nuw, and exact, putting them
after their associated opcodes rather than before. This makes them a little easier to read. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77194 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/flags-signed.ll')
-rw-r--r--test/Assembler/flags-signed.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Assembler/flags-signed.ll b/test/Assembler/flags-signed.ll
index 62c38a9..9c40813 100644
--- a/test/Assembler/flags-signed.ll
+++ b/test/Assembler/flags-signed.ll
@@ -3,16 +3,16 @@
@addr = external global i64
define i64 @add_signed_ce() {
-; CHECK: ret i64 nsw add (i64 ptrtoint (i64* @addr to i64), i64 91)
- ret i64 nsw add (i64 ptrtoint (i64* @addr to i64), i64 91)
+; CHECK: ret i64 add nsw (i64 ptrtoint (i64* @addr to i64), i64 91)
+ ret i64 add nsw (i64 ptrtoint (i64* @addr to i64), i64 91)
}
define i64 @sub_signed_ce() {
-; CHECK: ret i64 nsw sub (i64 ptrtoint (i64* @addr to i64), i64 91)
- ret i64 nsw sub (i64 ptrtoint (i64* @addr to i64), i64 91)
+; CHECK: ret i64 sub nsw (i64 ptrtoint (i64* @addr to i64), i64 91)
+ ret i64 sub nsw (i64 ptrtoint (i64* @addr to i64), i64 91)
}
define i64 @mul_signed_ce() {
-; CHECK: ret i64 nsw mul (i64 ptrtoint (i64* @addr to i64), i64 91)
- ret i64 nsw mul (i64 ptrtoint (i64* @addr to i64), i64 91)
+; CHECK: ret i64 mul nsw (i64 ptrtoint (i64* @addr to i64), i64 91)
+ ret i64 mul nsw (i64 ptrtoint (i64* @addr to i64), i64 91)
}