diff options
author | Kai Nacke <kai@redstar.de> | 2022-06-03 20:48:53 -0400 |
---|---|---|
committer | Kai Nacke <kai@redstar.de> | 2022-11-13 11:07:18 -0500 |
commit | d77c09974a54dc62a22a656e8d2dde740c5681a6 (patch) | |
tree | 2f2d74453bdc0d5a4fbe4e75e0648cb3e739ee06 | |
parent | e971d1ea8773018a72e627137ac26ace80169ea2 (diff) | |
download | llvm-d77c09974a54dc62a22a656e8d2dde740c5681a6.zip llvm-d77c09974a54dc62a22a656e8d2dde740c5681a6.tar.gz llvm-d77c09974a54dc62a22a656e8d2dde740c5681a6.tar.bz2 |
[m88k] Add -verify-machineinstrs to test cases
This uncovers a bug in the delay slot filler.
-rw-r--r-- | llvm/test/CodeGen/M88k/and.ll | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/M88k/cond.ll | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/M88k/load.ll | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/M88k/or.ll | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/M88k/shift.ll | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/M88k/store.ll | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/M88k/xor.ll | 4 |
7 files changed, 14 insertions, 14 deletions
diff --git a/llvm/test/CodeGen/M88k/and.ll b/llvm/test/CodeGen/M88k/and.ll index 5c09261..f6013f4 100644 --- a/llvm/test/CodeGen/M88k/and.ll +++ b/llvm/test/CodeGen/M88k/and.ll @@ -1,7 +1,7 @@ ; Test AND instructions. ; -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 | FileCheck %s -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 -verify-machineinstrs | FileCheck %s ; Check two register operands. define i32 @f1(i32 %a, i32 %b) { diff --git a/llvm/test/CodeGen/M88k/cond.ll b/llvm/test/CodeGen/M88k/cond.ll index 68c2acf..114c2f5 100644 --- a/llvm/test/CodeGen/M88k/cond.ll +++ b/llvm/test/CodeGen/M88k/cond.ll @@ -1,7 +1,7 @@ ; Test conditionals. ; -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 | FileCheck %s -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 -verify-machineinstrs | FileCheck %s define i32 @f1(i32 %a, i32 %b) { ; CHECK-LABEL: f1: diff --git a/llvm/test/CodeGen/M88k/load.ll b/llvm/test/CodeGen/M88k/load.ll index 5632ced..e7e01c1 100644 --- a/llvm/test/CodeGen/M88k/load.ll +++ b/llvm/test/CodeGen/M88k/load.ll @@ -1,7 +1,7 @@ ; Test LD instructions. ; -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 | FileCheck %s -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 -verify-machineinstrs | FileCheck %s @mem32 = common global i32 0, align 4 @mem16 = common global i16 0, align 2 diff --git a/llvm/test/CodeGen/M88k/or.ll b/llvm/test/CodeGen/M88k/or.ll index d236156..88bf5e8 100644 --- a/llvm/test/CodeGen/M88k/or.ll +++ b/llvm/test/CodeGen/M88k/or.ll @@ -1,7 +1,7 @@ ; Test OR instructions. ; -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 | FileCheck %s -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 -verify-machineinstrs | FileCheck %s ; Check two register operands. define i32 @f1(i32 %a, i32 %b) { diff --git a/llvm/test/CodeGen/M88k/shift.ll b/llvm/test/CodeGen/M88k/shift.ll index ac869a1..421e204 100644 --- a/llvm/test/CodeGen/M88k/shift.ll +++ b/llvm/test/CodeGen/M88k/shift.ll @@ -1,7 +1,7 @@ ; Test shift instructions. ; -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 | FileCheck %s -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 -verify-machineinstrs | FileCheck %s ; Check two register operands. define i32 @f1(i32 %a, i32 %b) { diff --git a/llvm/test/CodeGen/M88k/store.ll b/llvm/test/CodeGen/M88k/store.ll index 5811d03..14b9d6b 100644 --- a/llvm/test/CodeGen/M88k/store.ll +++ b/llvm/test/CodeGen/M88k/store.ll @@ -1,7 +1,7 @@ ; Test ST instructions. ; -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 | FileCheck %s -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 -verify-machineinstrs | FileCheck %s @mem32 = common global i32 0, align 4 @mem16 = common global i16 0, align 2 diff --git a/llvm/test/CodeGen/M88k/xor.ll b/llvm/test/CodeGen/M88k/xor.ll index 383213d..c7a1756 100644 --- a/llvm/test/CodeGen/M88k/xor.ll +++ b/llvm/test/CodeGen/M88k/xor.ll @@ -1,7 +1,7 @@ ; Test XOR instructions. ; -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 | FileCheck %s -; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88100 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=m88k-openbsd -mcpu=mc88110 -verify-machineinstrs | FileCheck %s ; Check two register operands. define i32 @f1(i32 %a, i32 %b) { |