[PATCH] D31596: [Polly] Fix two testcases

Philip Pfaffe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 3 05:27:32 PDT 2017


philip.pfaffe created this revision.
philip.pfaffe added a project: Polly.

Trivial fix for two testcases. When Polly isn't linked into opt, idependent of whether it's built in-tree or not, these testcases forget to load the appropriate library.


Repository:
  rL LLVM

https://reviews.llvm.org/D31596

Files:
  test/Isl/CodeGen/invariant-load-dimension.ll
  test/ScopInfo/bool-addrec.ll


Index: test/ScopInfo/bool-addrec.ll
===================================================================
--- test/ScopInfo/bool-addrec.ll
+++ test/ScopInfo/bool-addrec.ll
@@ -1,4 +1,4 @@
-; RUN: opt -analyze -polly-ast -polly-process-unprofitable < %s | FileCheck %s
+; RUN: opt %loadPolly -analyze -polly-ast -polly-process-unprofitable < %s | FileCheck %s
 
 ; CHECK:      for (int c0 = 0; c0 <= 19999; c0 += 1) {
 ; CHECK-NEXT:   if (c0 % 2 == 0)
Index: test/Isl/CodeGen/invariant-load-dimension.ll
===================================================================
--- test/Isl/CodeGen/invariant-load-dimension.ll
+++ test/Isl/CodeGen/invariant-load-dimension.ll
@@ -1,5 +1,5 @@
-; RUN: opt < %s -analyze -polly-scops -polly-process-unprofitable -polly-invariant-load-hoisting | FileCheck %s -check-prefix=SCOPS
-; RUN: opt -S < %s -polly-codegen -polly-process-unprofitable -polly-invariant-load-hoisting | FileCheck %s -check-prefix=CODEGEN
+; RUN: opt %loadPolly < %s -analyze -polly-scops -polly-process-unprofitable -polly-invariant-load-hoisting | FileCheck %s -check-prefix=SCOPS
+; RUN: opt %loadPolly -S < %s -polly-codegen -polly-process-unprofitable -polly-invariant-load-hoisting | FileCheck %s -check-prefix=CODEGEN
 
 target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n8:16:32-S64"
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31596.93846.patch
Type: text/x-patch
Size: 1313 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170403/039f1634/attachment.bin>


More information about the llvm-commits mailing list