summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/load-constant-addr.ll
diff options
context:
space:
mode:
authorEhsan Amiri <amehsan@ca.ibm.com>2016-08-03 18:17:35 +0000
committerEhsan Amiri <amehsan@ca.ibm.com>2016-08-03 18:17:35 +0000
commit38caf193337fcd02d28ec3461c001325ea55b85c (patch)
tree19a07ffb260d5d0cde63b67531d540eeee670f0e /test/CodeGen/PowerPC/load-constant-addr.ll
parente69cb72fc17ba88d6ceb7cfff3d306691dc7e295 (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/load-constant-addr.ll')
-rw-r--r--test/CodeGen/PowerPC/load-constant-addr.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/load-constant-addr.ll b/test/CodeGen/PowerPC/load-constant-addr.ll
index 783443008ca..f2c69eb2b4a 100644
--- a/test/CodeGen/PowerPC/load-constant-addr.ll
+++ b/test/CodeGen/PowerPC/load-constant-addr.ll
@@ -1,6 +1,6 @@
; Should fold the ori into the lfs.
-; RUN: llc < %s -march=ppc32 | grep lfs
-; RUN: llc < %s -march=ppc32 | not grep ori
+; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep lfs
+; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep ori
define float @test() {
%tmp.i = load float, float* inttoptr (i32 186018016 to float*) ; <float> [#uses=1]