manually upgrade a bunch of tests to modern syntax, and remove some that

are either unreduced or only test old syntax.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133228 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2011-06-17 03:14:27 +00:00
parent cd4e0b593d
commit 26b0000166
130 changed files with 262 additions and 5810 deletions

View File

@@ -1,14 +0,0 @@
; RUN: llvm-as < %s | llvm-dis | llvm-as
; Ensure that the asm writer emits types before both operands of the
; store, even though they can be the same.
%RecTy = type %RecTy*
define void @foo() {
%A = malloc %RecTy ; <%RecTy> [#uses=1]
%B = malloc %RecTy ; <%RecTy> [#uses=1]
store %RecTy %B, %RecTy %A
ret void
}

View File

@@ -1,8 +0,0 @@
; RUN: llvm-as < %s | llvm-dis | grep {tail call void.*sret null}
declare void @foo({ }* sret , ...)
define void @bar() {
tail call void ({ }* sret , ...)* @foo( { }* null sret , i32 0 )
ret void
}

View File

@@ -1,12 +0,0 @@
; Test that upgrading zext/sext attributes to zeroext and signext
; works correctly.
; PR1553
; RUN: llvm-as < %s > /dev/null
define i32 @bar() {
%t = call i8 @foo( i8 10 sext ) zext
%x = zext i8 %t to i32
ret i32 %x
}
declare i8 @foo(i8 signext ) zeroext

View File

@@ -1,3 +0,0 @@
; RUN: llvm-as < %s
@FP = weak global i8 (...) signext * null