mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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:
@@ -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
|
||||
}
|
||||
|
@@ -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
|
||||
}
|
@@ -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
|
@@ -1,3 +0,0 @@
|
||||
; RUN: llvm-as < %s
|
||||
|
||||
@FP = weak global i8 (...) signext * null
|
Reference in New Issue
Block a user