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"

0 commit comments

Comments
 (0)