mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Adding -verify-machineinstrs option to PowerPC tests
Currently we have a number of tests that fail with -verify-machineinstrs. To detect this cases earlier we add the option to the testcases with the exception of tests that will currently fail with this option. PR 27456 keeps track of this failures. No code review, as discussed with Hal Finkel. llvm-svn: 277624
This commit is contained in:
parent
66cc222612
commit
db43217a24
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
define void @test() {
|
||||
%tr1 = lshr i32 1, 0 ; <i32> [#uses=0]
|
||||
ret void
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
|
||||
define void @main() {
|
||||
%tr4 = shl i64 1, 0 ; <i64> [#uses=0]
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
|
||||
define void @main() {
|
||||
%shamt = add i8 0, 1 ; <i8> [#uses=1]
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 | not grep .comm.*X,0
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep .comm.*X,0
|
||||
|
||||
@X = linkonce global { } zeroinitializer ; <{ }*> [#uses=0]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
|
||||
define i32 @main() {
|
||||
%setle = icmp sle i64 1, 0 ; <i1> [#uses=1]
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
|
||||
define i64 @test() {
|
||||
ret i64 undef
|
||||
|
@ -1,6 +1,6 @@
|
||||
; this should not crash the ppc backend
|
||||
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
|
||||
|
||||
define i32 @test(i32 %j.0.0.i) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
; This function should have exactly one call to fixdfdi, no more!
|
||||
|
||||
; RUN: llc < %s -march=ppc32 -mattr=-64bit | \
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mattr=-64bit | \
|
||||
; RUN: grep "bl .*fixdfdi" | count 1
|
||||
|
||||
define double @test2(double %tmp.7705) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
; This was erroneously being turned into an rlwinm instruction.
|
||||
; The sign bit does matter in this case.
|
||||
|
||||
; RUN: llc < %s -march=ppc32 | grep srawi
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep srawi
|
||||
|
||||
define i32 @test(i32 %X) {
|
||||
%Y = and i32 %X, -2 ; <i32> [#uses=1]
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s
|
||||
; RUN: llc -verify-machineinstrs < %s
|
||||
|
||||
target datalayout = "E-p:32:32"
|
||||
target triple = "powerpc-apple-darwin8.2.0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s | not grep ", f1"
|
||||
; RUN: llc -verify-machineinstrs < %s | not grep ", f1"
|
||||
|
||||
target datalayout = "E-p:32:32"
|
||||
target triple = "powerpc-apple-darwin8.2.0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s
|
||||
; RUN: llc -verify-machineinstrs < %s
|
||||
; REQUIRES: default_triple
|
||||
|
||||
define void @iterative_hash_host_wide_int() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
|
||||
|
||||
define double @CalcSpeed(float %tmp127) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \
|
||||
; RUN: grep "vspltish v.*, 10"
|
||||
|
||||
define void @test(<8 x i16>* %P) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=g5
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
|
||||
; END.
|
||||
|
||||
define void @test(i8* %stack) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
; END.
|
||||
|
||||
%struct.attr_desc = type { i8*, %struct.attr_desc*, %struct.attr_value*, %struct.attr_value*, i32 }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc64-apple-darwin | grep extsw | count 2
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-apple-darwin | grep extsw | count 2
|
||||
|
||||
@lens = external global i8* ; <i8**> [#uses=1]
|
||||
@vals = external global i32* ; <i32**> [#uses=1]
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
|
||||
define void @img2buf(i32 %symbol_size_in_bytes, i16* %ui16) nounwind {
|
||||
%tmp93 = load i16, i16* null ; <i16> [#uses=1]
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep vsldoi
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=g5 | not grep vor
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | grep vsldoi
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | not grep vor
|
||||
|
||||
define <4 x float> @func(<4 x float> %fp0, <4 x float> %fp1) {
|
||||
%tmp76 = shufflevector <4 x float> %fp0, <4 x float> %fp1, <4 x i32> < i32 0, i32 1, i32 2, i32 7 > ; <<4 x float>> [#uses=1]
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s
|
||||
; RUN: llc -verify-machineinstrs < %s
|
||||
; REQUIRES: default_triple
|
||||
|
||||
%struct..0anon = type { i32 }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc64
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64
|
||||
|
||||
target datalayout = "E-p:64:64"
|
||||
target triple = "powerpc64-apple-darwin8"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 | not grep IMPLICIT_DEF
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep IMPLICIT_DEF
|
||||
|
||||
define void @foo(i64 %X) {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 | grep xor
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep xor
|
||||
|
||||
target datalayout = "E-p:32:32"
|
||||
target triple = "powerpc-apple-darwin8.7.0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 | grep rlwimi
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep rlwimi
|
||||
|
||||
define void @test(i16 %div.0.i.i.i.i, i32 %L_num.0.i.i.i.i, i32 %tmp1.i.i206.i.i, i16* %P) {
|
||||
%X = shl i16 %div.0.i.i.i.i, 1 ; <i16> [#uses=1]
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=g5
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
|
||||
|
||||
define void @glgRunProcessor15() {
|
||||
%tmp26355.i = shufflevector <4 x float> zeroinitializer, <4 x float> < float 0x379FFFE000000000, float 0x379FFFE000000000, float 0x379FFFE000000000, float 0x379FFFE000000000 >, <4 x i32> < i32 0, i32 1, i32 2, i32 7 >; <<4 x float>> [#uses=1]
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: llc < %s -march=ppc64
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc < %s
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s
|
||||
; REQUIRES: default_triple
|
||||
|
||||
define void @bitap() {
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: llc < %s -march=ppc64
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc < %s
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s
|
||||
; REQUIRES: default_triple
|
||||
|
||||
@qsz.b = external global i1 ; <i1*> [#uses=1]
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -march=ppc32 | grep extsb
|
||||
; RUN: llc < %s -march=ppc32 | grep extsh
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep extsb
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep extsh
|
||||
|
||||
define i32 @p1(i8 %c, i16 %s) {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
|
||||
; RUN: grep cntlz
|
||||
|
||||
define i32 @foo() nounwind {
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc < %s -march=ppc64
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64
|
||||
|
||||
define i16 @test(i8* %d1, i16* %d2) {
|
||||
%tmp237 = call i16 asm "lhbrx $0, $2, $1", "=r,r,bO,m"( i8* %d1, i32 0, i16* %d2 ) ; <i16> [#uses=1]
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc < %s -march=ppc64
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64
|
||||
|
||||
; Test two things: 1) that a frameidx can be rewritten in an inline asm
|
||||
; 2) that inline asms can handle reg+imm addr modes.
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 | \
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 | \
|
||||
; RUN: grep align.*3
|
||||
|
||||
@X = global <{i32, i32}> <{ i32 1, i32 123 }>
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s
|
||||
; RUN: llc -verify-machineinstrs < %s
|
||||
|
||||
target datalayout = "E-p:32:32"
|
||||
target triple = "powerpc-apple-darwin8.8.0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s | grep mflr | count 1
|
||||
; RUN: llc -verify-machineinstrs < %s | grep mflr | count 1
|
||||
|
||||
target datalayout = "e-p:32:32"
|
||||
target triple = "powerpc-apple-darwin8"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -mcpu=g5 < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -mcpu=g5 < %s | FileCheck %s
|
||||
target datalayout = "E-m:e-i64:64-n32:64"
|
||||
target triple = "powerpc64-unknown-linux-gnu"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=g5
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
|
||||
|
||||
define void @test(<4 x float>*, { { i16, i16, i32 } }*) {
|
||||
xOperationInitMasks.exit:
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 -no-integrated-as | grep "foo r3, r4"
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 -no-integrated-as | grep "bari r3, 47"
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 -no-integrated-as | grep "foo r3, r4"
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 -no-integrated-as | grep "bari r3, 47"
|
||||
|
||||
; PR1351
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s | FileCheck %s
|
||||
; RUN: llc < %s -regalloc=fast -optimize-regalloc=0 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -regalloc=fast -optimize-regalloc=0 | FileCheck %s
|
||||
; The first argument of subfc must not be the same as any other register.
|
||||
|
||||
; CHECK: subfc [[REG:r.]],
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -no-integrated-as < %s
|
||||
; RUN: llc -verify-machineinstrs -no-integrated-as < %s
|
||||
; PR1382
|
||||
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
|
||||
target triple = "powerpc-apple-darwin8.8.0"
|
||||
%struct..0anon = type { i32 }
|
||||
|
@ -1,7 +1,7 @@
|
||||
; RUN: llc < %s -march=ppc32 -enable-tail-merge=0 | grep bl.*baz | count 2
|
||||
; RUN: llc < %s -march=ppc32 -enable-tail-merge=0 | grep bl.*quux | count 2
|
||||
; RUN: llc < %s -march=ppc32 | grep bl.*baz | count 1
|
||||
; RUN: llc < %s -march=ppc32 | grep bl.*quux | count 1
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -enable-tail-merge=0 | grep bl.*baz | count 2
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -enable-tail-merge=0 | grep bl.*quux | count 2
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep bl.*baz | count 1
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep bl.*quux | count 1
|
||||
; Check that tail merging is the default on ppc, and that -enable-tail-merge works.
|
||||
|
||||
; ModuleID = 'tail.c'
|
||||
|
@ -1,7 +1,7 @@
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
|
||||
target triple = "powerpc-apple-darwin8.8.0"
|
||||
|
||||
; RUN: llc < %s -march=ppc32 | grep "rlwinm r3, r3, 23, 30, 30"
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep "rlwinm r3, r3, 23, 30, 30"
|
||||
; PR1473
|
||||
|
||||
define zeroext i8 @foo(i16 zeroext %a) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 -mattr=+altivec
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mattr=+altivec
|
||||
|
||||
%struct.XATest = type { float, i16, i8, i8 }
|
||||
%struct.XArrayRange = type { i8, i8, i8, i8 }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc64
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64
|
||||
; PR1596
|
||||
|
||||
%struct._obstack_chunk = type { i8* }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc64 -mattr=+altivec | grep dst | count 4
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mattr=+altivec | grep dst | count 4
|
||||
|
||||
define hidden void @_Z4borkPc(i8* %image) {
|
||||
entry:
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -march=ppc64 -O1 | FileCheck %s
|
||||
; RUN: llc < %s -march=ppc64 | FileCheck --check-prefix=CHECK-OPT %s
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64 -O1 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64 | FileCheck --check-prefix=CHECK-OPT %s
|
||||
|
||||
%struct.__db_region = type { %struct.__mutex_t, [4 x i8], %struct.anon, i32, [1 x i32] }
|
||||
%struct.__mutex_t = type { i32 }
|
||||
|
@ -1,7 +1,7 @@
|
||||
; RUN: llc -mattr=-vsx < %s | grep stfd | count 3
|
||||
; RUN: llc -mattr=-vsx < %s | grep stfs | count 1
|
||||
; RUN: llc -mattr=-vsx < %s | grep lfd | count 2
|
||||
; RUN: llc -mattr=-vsx < %s | grep lfs | count 2
|
||||
; RUN: llc -verify-machineinstrs -mattr=-vsx < %s | grep stfd | count 3
|
||||
; RUN: llc -verify-machineinstrs -mattr=-vsx < %s | grep stfs | count 1
|
||||
; RUN: llc -verify-machineinstrs -mattr=-vsx < %s | grep lfd | count 2
|
||||
; RUN: llc -verify-machineinstrs -mattr=-vsx < %s | grep lfs | count 2
|
||||
; ModuleID = 'foo.c'
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
|
||||
target triple = "powerpc-apple-darwin8"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc64
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64
|
||||
|
||||
%struct.TCMalloc_SpinLock = type { i32 }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc64-apple-darwin
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-apple-darwin
|
||||
|
||||
declare void @cxa_atexit_check_1(i8*)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
; rdar://5538377
|
||||
|
||||
%struct.disk_unsigned = type { i32 }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc64 -mattr=+altivec
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mattr=+altivec
|
||||
%struct.inoutprops = type <{ i8, [3 x i8] }>
|
||||
|
||||
define void @bork(float* %argA, float* %argB, float* %res, i8 %inoutspec.0) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin
|
||||
|
||||
%struct.HDescriptor = type <{ i32, i32 }>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: llc < %s
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=g3
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=g5
|
||||
; RUN: llc -verify-machineinstrs < %s
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g3
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
|
||||
; PR1811
|
||||
; REQUIRES: default_triple
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin
|
||||
|
||||
%struct.Handle = type { %struct.oopDesc** }
|
||||
%struct.JNI_ArgumentPusher = type { %struct.SignatureIterator, %struct.JavaCallArguments* }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin -regalloc=fast -optimize-regalloc=0
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin -regalloc=fast -optimize-regalloc=0
|
||||
|
||||
define i32 @bork(i64 %foo, i64 %bar) {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin
|
||||
|
||||
declare i8* @bar(i32)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
|
||||
%struct._cpp_strbuf = type { i8*, i32, i32 }
|
||||
%struct.cpp_string = type { i32, i8* }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc64
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64
|
||||
|
||||
define i16 @test(i8* %d1, i16* %d2) {
|
||||
%tmp237 = call i16 asm "lhbrx $0, $2, $1", "=r,r,bO,m"( i8* %d1, i32 0, i16* %d2 )
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc64
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64
|
||||
|
||||
define fastcc i8* @page_rec_get_next(i8* %rec) nounwind {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
|
||||
%struct..0objc_object = type { %struct.objc_class* }
|
||||
%struct.NSArray = type { %struct..0objc_object }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin
|
||||
|
||||
define i32 @t(i64 %byteStart, i32 %activeIndex) nounwind {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin
|
||||
|
||||
define fastcc i64 @nonzero_bits1() nounwind {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin
|
||||
; Avoid reading memory that's already freed.
|
||||
|
||||
@llvm.used = appending global [1 x i8*] [ i8* bitcast (i32 (i64)* @_Z13GetSectorSizey to i8*) ], section "llvm.metadata" ; <[1 x i8*]*> [#uses=0]
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin
|
||||
|
||||
@_ZL10DeviceCode = internal global i16 0 ; <i16*> [#uses=1]
|
||||
@.str19 = internal constant [64 x i8] c"unlock_then_erase_sector: failed to erase block (status= 0x%x)\0A\00" ; <[64 x i8]*> [#uses=1]
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
target triple = "powerpc-apple-darwin9.2.2"
|
||||
|
||||
define i256 @func(ppc_fp128 %a, ppc_fp128 %b, ppc_fp128 %c, ppc_fp128 %d) nounwind readnone {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
|
||||
define void @t() nounwind {
|
||||
call void null( ppc_fp128 undef )
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
|
||||
@g = external global ppc_fp128
|
||||
@h = external global ppc_fp128
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32
|
||||
; <rdar://problem/6020042>
|
||||
|
||||
define i32 @bork() nounwind {
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep vadduhm
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep vsubuhm
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | grep vadduhm
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | grep vsubuhm
|
||||
|
||||
define <4 x i32> @test() nounwind {
|
||||
ret <4 x i32> < i32 4293066722, i32 4293066722, i32 4293066722, i32 4293066722>
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s
|
||||
; RUN: llc -verify-machineinstrs < %s
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
|
||||
target triple = "powerpc-apple-darwin9"
|
||||
%struct.BiPartSrcDescriptor = type <{ %"struct.BiPartSrcDescriptor::$_105" }>
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s
|
||||
; RUN: llc -verify-machineinstrs < %s
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
|
||||
target triple = "powerpc-apple-darwin9"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s
|
||||
; RUN: llc -verify-machineinstrs < %s
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
|
||||
target triple = "powerpc-apple-darwin9"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s
|
||||
; RUN: llc -verify-machineinstrs < %s
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
|
||||
target triple = "powerpc-apple-darwin9"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc64-apple-darwin | grep lwz | grep 228
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-apple-darwin | grep lwz | grep 228
|
||||
|
||||
@"\01LC" = internal constant [4 x i8] c"%d\0A\00" ; <[4 x i8]*> [#uses=1]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin
|
||||
|
||||
%struct.CGLDI = type { %struct.cgli*, i32, i32, i32, i32, i32, i8*, i32, void (%struct.CGLSI*, i32, %struct.CGLDI*)*, i8*, %struct.vv_t }
|
||||
%struct.cgli = type { i32, %struct.cgli*, void (%struct.cgli*, i8*, i8*, i32, i32, i32, i32, i32, i32, i32, i32)*, i32, i8*, i8*, i8*, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, i8*, i32*, %struct._cgro*, %struct._cgro*, float, float, float, float, i32, i8*, float, i8*, [16 x i32] }
|
||||
|
@ -2,7 +2,7 @@
|
||||
; FIXME: This depends on assertion failure for now.
|
||||
; REQUIRES: asserts
|
||||
|
||||
; RUN: llc < %s
|
||||
; RUN: llc -verify-machineinstrs < %s
|
||||
; XFAIL: *
|
||||
; PR2356
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc64
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc64
|
||||
|
||||
define void @__divtc3({ ppc_fp128, ppc_fp128 }* noalias sret %agg.result, ppc_fp128 %a, ppc_fp128 %b, ppc_fp128 %c, ppc_fp128 %d) nounwind {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 -o - | not grep fixunstfsi
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -o - | not grep fixunstfsi
|
||||
|
||||
define i64 @__fixunstfdi(ppc_fp128 %a) nounwind readnone {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s
|
||||
; RUN: llc -verify-machineinstrs < %s
|
||||
; PR2988
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
|
||||
target triple = "powerpc-apple-darwin10.0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc64-apple-darwin9.5
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-apple-darwin9.5
|
||||
|
||||
define void @__multc3({ ppc_fp128, ppc_fp128 }* noalias sret %agg.result, ppc_fp128 %a, ppc_fp128 %b, ppc_fp128 %c, ppc_fp128 %d) nounwind {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin9.5
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin9.5
|
||||
; rdar://6499616
|
||||
|
||||
@"\01LC" = internal constant [13 x i8] c"conftest.val\00" ; <[13 x i8]*> [#uses=1]
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin10
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin10
|
||||
; rdar://6692215
|
||||
|
||||
define fastcc void @_qsort(i8* %a, i32 %n, i32 %es, i32 (i8*, i8*)* %cmp, i32 %depth_limit) nounwind optsize ssp {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin10
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin10
|
||||
; PR4280
|
||||
|
||||
define i32 @__fixunssfsi(float %a) nounwind readnone {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin10 -mcpu=g5 -disable-ppc-ilp-pref | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin10 -mcpu=g5 -disable-ppc-ilp-pref | FileCheck %s
|
||||
; ModuleID = '<stdin>'
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
|
||||
target triple = "powerpc-apple-darwin10.0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=ppc32 < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -march=ppc32 < %s | FileCheck %s
|
||||
; ModuleID = '<stdin>'
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
|
||||
target triple = "powerpc-apple-darwin9.6"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin9.5 -mcpu=g5
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin9.5 -mcpu=g5
|
||||
; rdar://7422268
|
||||
|
||||
%struct..0EdgeT = type { i32, i32, float, float, i32, i32, i32, float, i32, i32 }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin10 -relocation-model=pic -disable-fp-elim | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin10 -relocation-model=pic -disable-fp-elim | FileCheck %s
|
||||
; <rdar://problem/7604010>
|
||||
|
||||
%cmd.type = type { }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin -mcpu=g4 -break-anti-dependencies=none | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin -mcpu=g4 -break-anti-dependencies=none | FileCheck %s
|
||||
; ModuleID = 'hh.c'
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128-n32"
|
||||
target triple = "powerpc-apple-darwin9.6"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=g5 -mtriple=powerpc-apple-darwin10.0 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 -mtriple=powerpc-apple-darwin10.0 | FileCheck %s
|
||||
; ModuleID = 'nn.c'
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
|
||||
target triple = "powerpc-apple-darwin11.0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin10.0
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin10.0
|
||||
; rdar://7819990
|
||||
|
||||
%0 = type { i32 }
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin -mcpu=g5 | FileCheck %s
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin -mcpu=g5 -regalloc=basic | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin -mcpu=g5 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin -mcpu=g5 -regalloc=basic | FileCheck %s
|
||||
|
||||
declare i8* @llvm.frameaddress(i32) nounwind readnone
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -O0
|
||||
; RUN: llc -verify-machineinstrs < %s -O0
|
||||
; PR8357
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32"
|
||||
target triple = "powerpc-unknown-freebsd9.0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -disable-fp-elim < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -disable-fp-elim < %s | FileCheck %s
|
||||
; PR8749
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128-n32"
|
||||
target triple = "powerpc-apple-darwin9.8"
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin -mcpu=g4 -disable-ppc-ilp-pref | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=g4 -disable-ppc-ilp-pref | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin -mcpu=g4 -disable-ppc-ilp-pref | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=g4 -disable-ppc-ilp-pref | FileCheck %s
|
||||
|
||||
; ModuleID = 'tsc.c'
|
||||
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -mtriple=powerpc-apple-darwin -mcpu=g4 | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=g4 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin -mcpu=g4 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=g4 | FileCheck %s
|
||||
|
||||
; ModuleID = 'tsc.c'
|
||||
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=g4 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=g4 | FileCheck %s
|
||||
|
||||
define void @test(i32* nocapture %x, i64* %xx, i32* %yp) nounwind uwtable ssp {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -code-model=small < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -code-model=small < %s | FileCheck %s
|
||||
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
|
||||
target triple = "powerpc64-unknown-linux-gnu"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -mattr=-vsx -mattr=+altivec -mcpu=pwr7 < %s | FileCheck %s
|
||||
; RUN: llc -mattr=+vsx -mattr=+altivec -mcpu=pwr7 < %s | FileCheck -check-prefix=CHECK-VSX %s
|
||||
; RUN: llc -verify-machineinstrs -mattr=-vsx -mattr=+altivec -mcpu=pwr7 < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -mattr=+vsx -mattr=+altivec -mcpu=pwr7 < %s | FileCheck -check-prefix=CHECK-VSX %s
|
||||
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
|
||||
target triple = "powerpc64-unknown-linux-gnu"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -mtriple=powerpc64-bgq-linux -enable-misched < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -mtriple=powerpc64-bgq-linux -enable-misched < %s | FileCheck %s
|
||||
;
|
||||
; PR14315: misched should not move the physreg copy of %t below the calls.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s | FileCheck %s
|
||||
|
||||
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-v128:128:128-n32:64"
|
||||
target triple = "powerpc64-unknown-linux-gnu"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user