From 38caf193337fcd02d28ec3461c001325ea55b85c Mon Sep 17 00:00:00 2001 From: Ehsan Amiri Date: Wed, 3 Aug 2016 18:17:35 +0000 Subject: 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 --- test/CodeGen/PowerPC/mem-rr-addr-mode.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/CodeGen/PowerPC/mem-rr-addr-mode.ll') diff --git a/test/CodeGen/PowerPC/mem-rr-addr-mode.ll b/test/CodeGen/PowerPC/mem-rr-addr-mode.ll index 60a4bdba229..26c3cc881b3 100644 --- a/test/CodeGen/PowerPC/mem-rr-addr-mode.ll +++ b/test/CodeGen/PowerPC/mem-rr-addr-mode.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep li.*16 -; RUN: llc < %s -march=ppc32 -mcpu=g5 | not grep addi +; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | grep li.*16 +; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | not grep addi ; Codegen lvx (R+16) as t = li 16, lvx t,R ; This shares the 16 between the two loads. -- cgit v1.2.3