summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/cconv/arguments-varargs.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/Mips/cconv/arguments-varargs.ll')
-rw-r--r--llvm/test/CodeGen/Mips/cconv/arguments-varargs.ll72
1 files changed, 36 insertions, 36 deletions
diff --git a/llvm/test/CodeGen/Mips/cconv/arguments-varargs.ll b/llvm/test/CodeGen/Mips/cconv/arguments-varargs.ll
index af217c92dab..d1a196738ae 100644
--- a/llvm/test/CodeGen/Mips/cconv/arguments-varargs.ll
+++ b/llvm/test/CodeGen/Mips/cconv/arguments-varargs.ll
@@ -55,7 +55,7 @@ entry:
; Store [[VA]]
; O32-DAG: sw [[VA]], 0([[SP]])
-; ALL: # ANCHOR1
+; ALL: teqi $zero, 1
; Increment [[VA]]
; O32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -89,7 +89,7 @@ entry:
; ALL-DAG: sh [[ARG1]], 2([[GV]])
-; ALL: # ANCHOR2
+; ALL: teqi $zero, 2
; Increment [[VA]] again.
; O32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -117,12 +117,12 @@ entry:
%ap2 = bitcast i8** %ap to i8*
call void @llvm.va_start(i8* %ap2)
- call void asm sideeffect "# ANCHOR1", ""()
+ call void asm sideeffect "teqi $$zero, 1", ""()
%arg1 = va_arg i8** %ap, i16
%e1 = getelementptr [3 x i16], [3 x i16]* @hwords, i32 0, i32 1
store volatile i16 %arg1, i16* %e1, align 2
- call void asm sideeffect "# ANCHOR2", ""()
+ call void asm sideeffect "teqi $$zero, 2", ""()
%arg2 = va_arg i8** %ap, i16
%e2 = getelementptr [3 x i16], [3 x i16]* @hwords, i32 0, i32 2
store volatile i16 %arg2, i16* %e2, align 2
@@ -173,7 +173,7 @@ entry:
; Store [[VA]]
; O32-DAG: sw [[VA]], 0([[SP]])
-; ALL: # ANCHOR1
+; ALL: teqi $zero, 1
; Increment [[VA]]
; O32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -207,7 +207,7 @@ entry:
; ALL-DAG: sw [[ARG1]], 4([[GV]])
-; ALL: # ANCHOR2
+; ALL: teqi $zero, 2
; Increment [[VA]] again.
; O32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -235,12 +235,12 @@ entry:
%ap2 = bitcast i8** %ap to i8*
call void @llvm.va_start(i8* %ap2)
- call void asm sideeffect "# ANCHOR1", ""()
+ call void asm sideeffect "teqi $$zero, 1", ""()
%arg1 = va_arg i8** %ap, i32
%e1 = getelementptr [3 x i32], [3 x i32]* @words, i32 0, i32 1
store volatile i32 %arg1, i32* %e1, align 4
- call void asm sideeffect "# ANCHOR2", ""()
+ call void asm sideeffect "teqi $$zero, 2", ""()
%arg2 = va_arg i8** %ap, i32
%e2 = getelementptr [3 x i32], [3 x i32]* @words, i32 0, i32 2
store volatile i32 %arg2, i32* %e2, align 4
@@ -291,7 +291,7 @@ entry:
; Store [[VA]]
; O32-DAG: sw [[VA]], 0([[SP]])
-; ALL: # ANCHOR1
+; ALL: teqi $zero, 1
; Increment [[VA]] (and realign pointer for O32)
; O32: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -328,7 +328,7 @@ entry:
; NEW-DAG: ld [[ARG1:\$[0-9]+]], 0([[VA]])
; NEW-DAG: sd [[ARG1]], 8([[GV]])
-; ALL: # ANCHOR2
+; ALL: teqi $zero, 2
; Increment [[VA]] again.
; FIXME: We're still aligned from the last one but CodeGen doesn't spot that.
@@ -362,12 +362,12 @@ entry:
%ap2 = bitcast i8** %ap to i8*
call void @llvm.va_start(i8* %ap2)
- call void asm sideeffect "# ANCHOR1", ""()
+ call void asm sideeffect "teqi $$zero, 1", ""()
%arg1 = va_arg i8** %ap, i64
%e1 = getelementptr [3 x i64], [3 x i64]* @dwords, i32 0, i32 1
store volatile i64 %arg1, i64* %e1, align 8
- call void asm sideeffect "# ANCHOR2", ""()
+ call void asm sideeffect "teqi $$zero, 2", ""()
%arg2 = va_arg i8** %ap, i64
%e2 = getelementptr [3 x i64], [3 x i64]* @dwords, i32 0, i32 2
store volatile i64 %arg2, i64* %e2, align 8
@@ -418,7 +418,7 @@ entry:
; Store [[VA]]
; O32-DAG: sw [[VA]], 0([[SP]])
-; ALL: # ANCHOR1
+; ALL: teqi $zero, 1
; Increment [[VA]]
; O32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -452,7 +452,7 @@ entry:
; ALL-DAG: sh [[ARG1]], 2([[GV]])
-; ALL: # ANCHOR2
+; ALL: teqi $zero, 2
; Increment [[VA]] again.
; O32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -480,12 +480,12 @@ entry:
%ap2 = bitcast i8** %ap to i8*
call void @llvm.va_start(i8* %ap2)
- call void asm sideeffect "# ANCHOR1", ""()
+ call void asm sideeffect "teqi $$zero, 1", ""()
%arg1 = va_arg i8** %ap, i16
%e1 = getelementptr [3 x i16], [3 x i16]* @hwords, i32 0, i32 1
store volatile i16 %arg1, i16* %e1, align 2
- call void asm sideeffect "# ANCHOR2", ""()
+ call void asm sideeffect "teqi $$zero, 2", ""()
%arg2 = va_arg i8** %ap, i16
%e2 = getelementptr [3 x i16], [3 x i16]* @hwords, i32 0, i32 2
store volatile i16 %arg2, i16* %e2, align 2
@@ -536,7 +536,7 @@ entry:
; Store [[VA]]
; O32-DAG: sw [[VA]], 0([[SP]])
-; ALL: # ANCHOR1
+; ALL: teqi $zero, 1
; Increment [[VA]]
; O32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -570,7 +570,7 @@ entry:
; ALL-DAG: sw [[ARG1]], 4([[GV]])
-; ALL: # ANCHOR2
+; ALL: teqi $zero, 2
; Increment [[VA]] again.
; O32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -598,12 +598,12 @@ entry:
%ap2 = bitcast i8** %ap to i8*
call void @llvm.va_start(i8* %ap2)
- call void asm sideeffect "# ANCHOR1", ""()
+ call void asm sideeffect "teqi $$zero, 1", ""()
%arg1 = va_arg i8** %ap, i32
%e1 = getelementptr [3 x i32], [3 x i32]* @words, i32 0, i32 1
store volatile i32 %arg1, i32* %e1, align 4
- call void asm sideeffect "# ANCHOR2", ""()
+ call void asm sideeffect "teqi $$zero, 2", ""()
%arg2 = va_arg i8** %ap, i32
%e2 = getelementptr [3 x i32], [3 x i32]* @words, i32 0, i32 2
store volatile i32 %arg2, i32* %e2, align 4
@@ -654,7 +654,7 @@ entry:
; Store [[VA]]
; O32-DAG: sw [[VA]], 0([[SP]])
-; ALL: # ANCHOR1
+; ALL: teqi $zero, 1
; Increment [[VA]] (and realign pointer for O32)
; O32: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -691,7 +691,7 @@ entry:
; NEW-DAG: ld [[ARG1:\$[0-9]+]], 0([[VA]])
; NEW-DAG: sd [[ARG1]], 8([[GV]])
-; ALL: # ANCHOR2
+; ALL: teqi $zero, 2
; Increment [[VA]] again.
; FIXME: We're still aligned from the last one but CodeGen doesn't spot that.
@@ -725,12 +725,12 @@ entry:
%ap2 = bitcast i8** %ap to i8*
call void @llvm.va_start(i8* %ap2)
- call void asm sideeffect "# ANCHOR1", ""()
+ call void asm sideeffect "teqi $$zero, 1", ""()
%arg1 = va_arg i8** %ap, i64
%e1 = getelementptr [3 x i64], [3 x i64]* @dwords, i32 0, i32 1
store volatile i64 %arg1, i64* %e1, align 8
- call void asm sideeffect "# ANCHOR2", ""()
+ call void asm sideeffect "teqi $$zero, 2", ""()
%arg2 = va_arg i8** %ap, i64
%e2 = getelementptr [3 x i64], [3 x i64]* @dwords, i32 0, i32 2
store volatile i64 %arg2, i64* %e2, align 8
@@ -780,7 +780,7 @@ entry:
; Store [[VA]]
; O32-DAG: sw [[VA]], 0([[SP]])
-; ALL: # ANCHOR1
+; ALL: teqi $zero, 1
; Increment [[VA]]
; O32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -814,7 +814,7 @@ entry:
; ALL-DAG: sh [[ARG1]], 2([[GV]])
-; ALL: # ANCHOR2
+; ALL: teqi $zero, 2
; Increment [[VA]] again.
; O32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -842,12 +842,12 @@ entry:
%ap2 = bitcast i8** %ap to i8*
call void @llvm.va_start(i8* %ap2)
- call void asm sideeffect "# ANCHOR1", ""()
+ call void asm sideeffect "teqi $$zero, 1", ""()
%arg1 = va_arg i8** %ap, i16
%e1 = getelementptr [3 x i16], [3 x i16]* @hwords, i32 0, i32 1
store volatile i16 %arg1, i16* %e1, align 2
- call void asm sideeffect "# ANCHOR2", ""()
+ call void asm sideeffect "teqi $$zero, 2", ""()
%arg2 = va_arg i8** %ap, i16
%e2 = getelementptr [3 x i16], [3 x i16]* @hwords, i32 0, i32 2
store volatile i16 %arg2, i16* %e2, align 2
@@ -897,7 +897,7 @@ entry:
; Store [[VA]]
; O32-DAG: sw [[VA]], 0([[SP]])
-; ALL: # ANCHOR1
+; ALL: teqi $zero, 1
; Increment [[VA]]
; O32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -931,7 +931,7 @@ entry:
; ALL-DAG: sw [[ARG1]], 4([[GV]])
-; ALL: # ANCHOR2
+; ALL: teqi $zero, 2
; Increment [[VA]] again.
; O32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -959,12 +959,12 @@ entry:
%ap2 = bitcast i8** %ap to i8*
call void @llvm.va_start(i8* %ap2)
- call void asm sideeffect "# ANCHOR1", ""()
+ call void asm sideeffect "teqi $$zero, 1", ""()
%arg1 = va_arg i8** %ap, i32
%e1 = getelementptr [3 x i32], [3 x i32]* @words, i32 0, i32 1
store volatile i32 %arg1, i32* %e1, align 4
- call void asm sideeffect "# ANCHOR2", ""()
+ call void asm sideeffect "teqi $$zero, 2", ""()
%arg2 = va_arg i8** %ap, i32
%e2 = getelementptr [3 x i32], [3 x i32]* @words, i32 0, i32 2
store volatile i32 %arg2, i32* %e2, align 4
@@ -1014,7 +1014,7 @@ entry:
; Store [[VA]]
; O32-DAG: sw [[VA]], 0([[SP]])
-; ALL: # ANCHOR1
+; ALL: teqi $zero, 1
; Increment [[VA]] (and realign pointer for O32)
; O32: lw [[VA:\$[0-9]+]], 0([[SP]])
@@ -1051,7 +1051,7 @@ entry:
; NEW-DAG: ld [[ARG1:\$[0-9]+]], 0([[VA]])
; NEW-DAG: sd [[ARG1]], 8([[GV]])
-; ALL: # ANCHOR2
+; ALL: teqi $zero, 2
; Increment [[VA]] again.
; FIXME: We're still aligned from the last one but CodeGen doesn't spot that.
@@ -1085,12 +1085,12 @@ entry:
%ap2 = bitcast i8** %ap to i8*
call void @llvm.va_start(i8* %ap2)
- call void asm sideeffect "# ANCHOR1", ""()
+ call void asm sideeffect "teqi $$zero, 1", ""()
%arg1 = va_arg i8** %ap, i64
%e1 = getelementptr [3 x i64], [3 x i64]* @dwords, i32 0, i32 1
store volatile i64 %arg1, i64* %e1, align 8
- call void asm sideeffect "# ANCHOR2", ""()
+ call void asm sideeffect "teqi $$zero, 2", ""()
%arg2 = va_arg i8** %ap, i64
%e2 = getelementptr [3 x i64], [3 x i64]* @dwords, i32 0, i32 2
store volatile i64 %arg2, i64* %e2, align 8
OpenPOWER on IntegriCloud