diff options
author | Ehsan Amiri <amehsan@ca.ibm.com> | 2016-08-03 18:17:35 +0000 |
---|---|---|
committer | Ehsan Amiri <amehsan@ca.ibm.com> | 2016-08-03 18:17:35 +0000 |
commit | 38caf193337fcd02d28ec3461c001325ea55b85c (patch) | |
tree | 19a07ffb260d5d0cde63b67531d540eeee670f0e /test/CodeGen/PowerPC/mem-rr-addr-mode.ll | |
parent | e69cb72fc17ba88d6ceb7cfff3d306691dc7e295 (diff) |
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
Diffstat (limited to 'test/CodeGen/PowerPC/mem-rr-addr-mode.ll')
-rw-r--r-- | test/CodeGen/PowerPC/mem-rr-addr-mode.ll | 4 |
1 files changed, 2 insertions, 2 deletions
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. |