Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 38caf19

Browse files
author
Ehsan Amiri
committed
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277624 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent e69cb72 commit 38caf19

File tree

625 files changed

+943
-943
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

625 files changed

+943
-943
lines changed

test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
22
define void @test() {
33
%tr1 = lshr i32 1, 0 ; <i32> [#uses=0]
44
ret void

test/CodeGen/PowerPC/2004-11-30-shift-crash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
22

33
define void @main() {
44
%tr4 = shl i64 1, 0 ; <i64> [#uses=0]

test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
22

33
define void @main() {
44
%shamt = add i8 0, 1 ; <i8> [#uses=1]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32 | not grep .comm.*X,0
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep .comm.*X,0
22

33
@X = linkonce global { } zeroinitializer ; <{ }*> [#uses=0]
44

test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
22

33
define i32 @main() {
44
%setle = icmp sle i64 1, 0 ; <i1> [#uses=1]

test/CodeGen/PowerPC/2005-01-14-UndefLong.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
22

33
define i64 @test() {
44
ret i64 undef

test/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; this should not crash the ppc backend
22

3-
; RUN: llc < %s -march=ppc32
3+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
44

55

66
define i32 @test(i32 %j.0.0.i) {

test/CodeGen/PowerPC/2005-09-02-LegalizeDuplicatesCalls.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; This function should have exactly one call to fixdfdi, no more!
22

3-
; RUN: llc < %s -march=ppc32 -mattr=-64bit | \
3+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mattr=-64bit | \
44
; RUN: grep "bl .*fixdfdi" | count 1
55

66
define double @test2(double %tmp.7705) {

test/CodeGen/PowerPC/2005-10-08-ArithmeticRotate.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; This was erroneously being turned into an rlwinm instruction.
22
; The sign bit does matter in this case.
33

4-
; RUN: llc < %s -march=ppc32 | grep srawi
4+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep srawi
55

66
define i32 @test(i32 %X) {
77
%Y = and i32 %X, -2 ; <i32> [#uses=1]

test/CodeGen/PowerPC/2005-11-30-vastart-crash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s
1+
; RUN: llc -verify-machineinstrs < %s
22

33
target datalayout = "E-p:32:32"
44
target triple = "powerpc-apple-darwin8.2.0"

test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s | not grep ", f1"
1+
; RUN: llc -verify-machineinstrs < %s | not grep ", f1"
22

33
target datalayout = "E-p:32:32"
44
target triple = "powerpc-apple-darwin8.2.0"

test/CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s
1+
; RUN: llc -verify-machineinstrs < %s
22
; REQUIRES: default_triple
33

44
define void @iterative_hash_host_wide_int() {

test/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
22

33

44
define double @CalcSpeed(float %tmp127) {

test/CodeGen/PowerPC/2006-04-05-splat-ish.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \
22
; RUN: grep "vspltish v.*, 10"
33

44
define void @test(<8 x i16>* %P) {

test/CodeGen/PowerPC/2006-04-19-vmaddfp-crash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32 -mcpu=g5
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
22
; END.
33

44
define void @test(i8* %stack) {

test/CodeGen/PowerPC/2006-05-12-rlwimi-crash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
22
; END.
33

44
%struct.attr_desc = type { i8*, %struct.attr_desc*, %struct.attr_value*, %struct.attr_value*, i32 }

test/CodeGen/PowerPC/2006-07-07-ComputeMaskedBits.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -mtriple=powerpc64-apple-darwin | grep extsw | count 2
1+
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-apple-darwin | grep extsw | count 2
22

33
@lens = external global i8* ; <i8**> [#uses=1]
44
@vals = external global i32* ; <i32**> [#uses=1]

test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
22

33
define void @img2buf(i32 %symbol_size_in_bytes, i16* %ui16) nounwind {
44
%tmp93 = load i16, i16* null ; <i16> [#uses=1]

test/CodeGen/PowerPC/2006-08-11-RetVector.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep vsldoi
2-
; RUN: llc < %s -march=ppc32 -mcpu=g5 | not grep vor
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | grep vsldoi
2+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | not grep vor
33

44
define <4 x float> @func(<4 x float> %fp0, <4 x float> %fp1) {
55
%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]

test/CodeGen/PowerPC/2006-08-15-SelectionCrash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s
1+
; RUN: llc -verify-machineinstrs < %s
22
; REQUIRES: default_triple
33

44
%struct..0anon = type { i32 }

test/CodeGen/PowerPC/2006-09-28-shift_64.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc64
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc64
22

33
target datalayout = "E-p:64:64"
44
target triple = "powerpc64-apple-darwin8"

test/CodeGen/PowerPC/2006-10-13-Miscompile.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32 | not grep IMPLICIT_DEF
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep IMPLICIT_DEF
22

33
define void @foo(i64 %X) {
44
entry:

test/CodeGen/PowerPC/2006-10-17-brcc-miscompile.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32 | grep xor
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep xor
22

33
target datalayout = "E-p:32:32"
44
target triple = "powerpc-apple-darwin8.7.0"

test/CodeGen/PowerPC/2006-11-10-DAGCombineMiscompile.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32 | grep rlwimi
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep rlwimi
22

33
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) {
44
%X = shl i16 %div.0.i.i.i.i, 1 ; <i16> [#uses=1]

test/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32 -mcpu=g5
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
22

33
define void @glgRunProcessor15() {
44
%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]

test/CodeGen/PowerPC/2006-12-07-LargeAlloca.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
; RUN: llc < %s -march=ppc64
2-
; RUN: llc < %s -march=ppc32
3-
; RUN: llc < %s
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc64
2+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
3+
; RUN: llc -verify-machineinstrs < %s
44
; REQUIRES: default_triple
55

66
define void @bitap() {

test/CodeGen/PowerPC/2006-12-07-SelectCrash.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
; RUN: llc < %s -march=ppc64
2-
; RUN: llc < %s -march=ppc32
3-
; RUN: llc < %s
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc64
2+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
3+
; RUN: llc -verify-machineinstrs < %s
44
; REQUIRES: default_triple
55

66
@qsz.b = external global i1 ; <i1*> [#uses=1]

test/CodeGen/PowerPC/2007-01-04-ArgExtension.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: llc < %s -march=ppc32 | grep extsb
2-
; RUN: llc < %s -march=ppc32 | grep extsh
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep extsb
2+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep extsh
33

44
define i32 @p1(i8 %c, i16 %s) {
55
entry:

test/CodeGen/PowerPC/2007-01-15-AsmDialect.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
22
; RUN: grep cntlz
33

44
define i32 @foo() nounwind {

test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: llc < %s -march=ppc32
2-
; RUN: llc < %s -march=ppc64
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
2+
; RUN: llc -verify-machineinstrs < %s -march=ppc64
33

44
define i16 @test(i8* %d1, i16* %d2) {
55
%tmp237 = call i16 asm "lhbrx $0, $2, $1", "=r,r,bO,m"( i8* %d1, i32 0, i16* %d2 ) ; <i16> [#uses=1]

test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: llc < %s -march=ppc32
2-
; RUN: llc < %s -march=ppc64
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
2+
; RUN: llc -verify-machineinstrs < %s -march=ppc64
33

44
; Test two things: 1) that a frameidx can be rewritten in an inline asm
55
; 2) that inline asms can handle reg+imm addr modes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 | \
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 | \
22
; RUN: grep align.*3
33

44
@X = global <{i32, i32}> <{ i32 1, i32 123 }>

test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s
1+
; RUN: llc -verify-machineinstrs < %s
22

33
target datalayout = "E-p:32:32"
44
target triple = "powerpc-apple-darwin8.8.0"

test/CodeGen/PowerPC/2007-02-23-lr-saved-twice.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s | grep mflr | count 1
1+
; RUN: llc -verify-machineinstrs < %s | grep mflr | count 1
22

33
target datalayout = "e-p:32:32"
44
target triple = "powerpc-apple-darwin8"

test/CodeGen/PowerPC/2007-03-24-cntlzd.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -mcpu=g5 < %s | FileCheck %s
1+
; RUN: llc -verify-machineinstrs -mcpu=g5 < %s | FileCheck %s
22
target datalayout = "E-m:e-i64:64-n32:64"
33
target triple = "powerpc64-unknown-linux-gnu"
44

test/CodeGen/PowerPC/2007-03-30-SpillerCrash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32 -mcpu=g5
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
22

33
define void @test(<4 x float>*, { { i16, i16, i32 } }*) {
44
xOperationInitMasks.exit:

test/CodeGen/PowerPC/2007-04-24-InlineAsm-I-Modifier.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 -no-integrated-as | grep "foo r3, r4"
2-
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 -no-integrated-as | grep "bari r3, 47"
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 -no-integrated-as | grep "foo r3, r4"
2+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 -no-integrated-as | grep "bari r3, 47"
33

44
; PR1351
55

test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: llc < %s | FileCheck %s
2-
; RUN: llc < %s -regalloc=fast -optimize-regalloc=0 | FileCheck %s
1+
; RUN: llc -verify-machineinstrs < %s | FileCheck %s
2+
; RUN: llc -verify-machineinstrs < %s -regalloc=fast -optimize-regalloc=0 | FileCheck %s
33
; The first argument of subfc must not be the same as any other register.
44

55
; CHECK: subfc [[REG:r.]],

test/CodeGen/PowerPC/2007-05-03-InlineAsm-S-Constraint.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -no-integrated-as < %s
1+
; RUN: llc -verify-machineinstrs -no-integrated-as < %s
22
; PR1382
33

44
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"

test/CodeGen/PowerPC/2007-05-14-InlineAsmSelectCrash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
22
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"
33
target triple = "powerpc-apple-darwin8.8.0"
44
%struct..0anon = type { i32 }

test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
; RUN: llc < %s -march=ppc32 -enable-tail-merge=0 | grep bl.*baz | count 2
2-
; RUN: llc < %s -march=ppc32 -enable-tail-merge=0 | grep bl.*quux | count 2
3-
; RUN: llc < %s -march=ppc32 | grep bl.*baz | count 1
4-
; RUN: llc < %s -march=ppc32 | grep bl.*quux | count 1
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -enable-tail-merge=0 | grep bl.*baz | count 2
2+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -enable-tail-merge=0 | grep bl.*quux | count 2
3+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep bl.*baz | count 1
4+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep bl.*quux | count 1
55
; Check that tail merging is the default on ppc, and that -enable-tail-merge works.
66

77
; ModuleID = 'tail.c'

test/CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
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"
22
target triple = "powerpc-apple-darwin8.8.0"
33

4-
; RUN: llc < %s -march=ppc32 | grep "rlwinm r3, r3, 23, 30, 30"
4+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep "rlwinm r3, r3, 23, 30, 30"
55
; PR1473
66

77
define zeroext i8 @foo(i16 zeroext %a) {

test/CodeGen/PowerPC/2007-06-28-BCCISelBug.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32 -mattr=+altivec
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mattr=+altivec
22

33
%struct.XATest = type { float, i16, i8, i8 }
44
%struct.XArrayRange = type { i8, i8, i8, i8 }

test/CodeGen/PowerPC/2007-08-04-CoalescerAssert.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc64
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc64
22
; PR1596
33

44
%struct._obstack_chunk = type { i8* }

test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc64 -mattr=+altivec | grep dst | count 4
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mattr=+altivec | grep dst | count 4
22

33
define hidden void @_Z4borkPc(i8* %image) {
44
entry:

test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: llc < %s -march=ppc64 -O1 | FileCheck %s
2-
; RUN: llc < %s -march=ppc64 | FileCheck --check-prefix=CHECK-OPT %s
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc64 -O1 | FileCheck %s
2+
; RUN: llc -verify-machineinstrs < %s -march=ppc64 | FileCheck --check-prefix=CHECK-OPT %s
33

44
%struct.__db_region = type { %struct.__mutex_t, [4 x i8], %struct.anon, i32, [1 x i32] }
55
%struct.__mutex_t = type { i32 }

test/CodeGen/PowerPC/2007-09-08-unaligned.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
; RUN: llc -mattr=-vsx < %s | grep stfd | count 3
2-
; RUN: llc -mattr=-vsx < %s | grep stfs | count 1
3-
; RUN: llc -mattr=-vsx < %s | grep lfd | count 2
4-
; RUN: llc -mattr=-vsx < %s | grep lfs | count 2
1+
; RUN: llc -verify-machineinstrs -mattr=-vsx < %s | grep stfd | count 3
2+
; RUN: llc -verify-machineinstrs -mattr=-vsx < %s | grep stfs | count 1
3+
; RUN: llc -verify-machineinstrs -mattr=-vsx < %s | grep lfd | count 2
4+
; RUN: llc -verify-machineinstrs -mattr=-vsx < %s | grep lfs | count 2
55
; ModuleID = 'foo.c'
66
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"
77
target triple = "powerpc-apple-darwin8"

test/CodeGen/PowerPC/2007-09-11-RegCoalescerAssert.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc64
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc64
22

33
%struct.TCMalloc_SpinLock = type { i32 }
44

test/CodeGen/PowerPC/2007-09-12-LiveIntervalsAssert.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -mtriple=powerpc64-apple-darwin
1+
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-apple-darwin
22

33
declare void @cxa_atexit_check_1(i8*)
44

test/CodeGen/PowerPC/2007-10-16-InlineAsmFrameOffset.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
22
; rdar://5538377
33

44
%struct.disk_unsigned = type { i32 }

test/CodeGen/PowerPC/2007-10-18-PtrArithmetic.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc64 -mattr=+altivec
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mattr=+altivec
22
%struct.inoutprops = type <{ i8, [3 x i8] }>
33

44
define void @bork(float* %argA, float* %argB, float* %res, i8 %inoutspec.0) {

test/CodeGen/PowerPC/2007-11-04-CoalescerCrash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -mtriple=powerpc-apple-darwin
1+
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin
22

33
%struct.HDescriptor = type <{ i32, i32 }>
44

test/CodeGen/PowerPC/2007-11-19-VectorSplitting.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
; RUN: llc < %s
2-
; RUN: llc < %s -march=ppc32 -mcpu=g3
3-
; RUN: llc < %s -march=ppc32 -mcpu=g5
1+
; RUN: llc -verify-machineinstrs < %s
2+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g3
3+
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
44
; PR1811
55
; REQUIRES: default_triple
66

test/CodeGen/PowerPC/2008-02-05-LiveIntervalsAssert.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -mtriple=powerpc-apple-darwin
1+
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin
22

33
%struct.Handle = type { %struct.oopDesc** }
44
%struct.JNI_ArgumentPusher = type { %struct.SignatureIterator, %struct.JavaCallArguments* }

test/CodeGen/PowerPC/2008-02-09-LocalRegAllocAssert.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -mtriple=powerpc-apple-darwin -regalloc=fast -optimize-regalloc=0
1+
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin -regalloc=fast -optimize-regalloc=0
22

33
define i32 @bork(i64 %foo, i64 %bar) {
44
entry:

test/CodeGen/PowerPC/2008-03-05-RegScavengerAssert.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -mtriple=powerpc-apple-darwin
1+
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin
22

33
declare i8* @bar(i32)
44

test/CodeGen/PowerPC/2008-03-17-RegScavengerCrash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc32
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc32
22

33
%struct._cpp_strbuf = type { i8*, i32, i32 }
44
%struct.cpp_string = type { i32, i8* }

test/CodeGen/PowerPC/2008-03-18-RegScavengerAssert.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -march=ppc64
1+
; RUN: llc -verify-machineinstrs < %s -march=ppc64
22

33
define i16 @test(i8* %d1, i16* %d2) {
44
%tmp237 = call i16 asm "lhbrx $0, $2, $1", "=r,r,bO,m"( i8* %d1, i32 0, i16* %d2 )

0 commit comments

Comments
 (0)