Fix this test case to actually test the new va_arg instruction not the
authorReid Spencer <rspencer@reidspencer.com>
Sat, 18 Jun 2005 20:27:32 +0000 (20:27 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 18 Jun 2005 20:27:32 +0000 (20:27 +0000)
old vaarg instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22256 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/varargs_new.ll

index df6b38e0cc0dc04279511b40d5e57114563a0ccf..995076e1a0750b11adcefb5aed3ddcdb0591d37e 100644 (file)
@@ -19,7 +19,7 @@ int %test(int %X, ...) {
         call void %llvm.va_start(sbyte** %ap)
 
         ; Read a single integer argument
-        %tmp = vaarg sbyte** %ap, int           ; <int> [#uses=1]
+        %tmp = va_arg sbyte** %ap, int           ; <int> [#uses=1]
 
         ; Demonstrate usage of llvm.va_copy and llvm_va_end
         %apv = load sbyte** %ap         ; <sbyte*> [#uses=1]