mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
For PR950:
Upgrade this test in preparation for the SETCC patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32669 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
81daddbf0d
commit
f2315900fd
@ -2,7 +2,7 @@
|
|||||||
; the same type to be created!
|
; the same type to be created!
|
||||||
|
|
||||||
; RUN: echo "%T = type int" | llvm-as > %t.2.bc
|
; RUN: echo "%T = type int" | llvm-as > %t.2.bc
|
||||||
; RUN: llvm-as < %s > %t.1.bc
|
; RUN: llvm-upgrade < %s | llvm-as -f > %t.1.bc
|
||||||
; RUN: llvm-link %t.[12].bc
|
; RUN: llvm-link %t.[12].bc
|
||||||
|
|
||||||
%T = type opaque
|
%T = type opaque
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; RUN: llvm-as< %s | opt -globalopt -disable-output
|
; RUN: llvm-upgrade < %s | llvm-as | opt -globalopt -disable-output
|
||||||
; PR820
|
; PR820
|
||||||
target endian = little
|
target endian = little
|
||||||
target pointersize = 32
|
target pointersize = 32
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
; These tests have an infinite trip count. We obviously shouldn't remove the
|
; These tests have an infinite trip count. We obviously shouldn't remove the
|
||||||
; loops! :)
|
; loops! :)
|
||||||
;
|
;
|
||||||
; RUN: llvm-upgrade < %s | llvm-as | opt -indvars -adce -simplifycfg | llvm-dis | grep set | wc -l > %t2
|
; RUN: llvm-upgrade < %s | llvm-as | opt -indvars -adce -simplifycfg | llvm-dis | grep icmp | wc -l > %t2
|
||||||
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | grep set | wc -l > %t1
|
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | grep icmp | wc -l > %t1
|
||||||
; RUN: diff %t1 %t2
|
; RUN: diff %t1 %t2
|
||||||
|
|
||||||
int %infinite_linear() { ;; test for (i = 1; i != 100; i += 2)
|
int %infinite_linear() { ;; test for (i = 1; i != 100; i += 2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user