[polly] r299357 - [test] Fix two testcases. NFC.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 3 05:37:11 PDT 2017


Author: meinersbur
Date: Mon Apr  3 07:37:10 2017
New Revision: 299357

URL: http://llvm.org/viewvc/llvm-project?rev=299357&view=rev
Log:
[test] Fix two testcases. NFC.

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

Contributed-by: Philip Pfaffe <philip.pfaffe at gmail.com>

Differential Revision: https://reviews.llvm.org/D31596

Modified:
    polly/trunk/test/Isl/CodeGen/invariant-load-dimension.ll
    polly/trunk/test/ScopInfo/bool-addrec.ll

Modified: polly/trunk/test/Isl/CodeGen/invariant-load-dimension.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/invariant-load-dimension.ll?rev=299357&r1=299356&r2=299357&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/invariant-load-dimension.ll (original)
+++ polly/trunk/test/Isl/CodeGen/invariant-load-dimension.ll Mon Apr  3 07:37:10 2017
@@ -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"
 

Modified: polly/trunk/test/ScopInfo/bool-addrec.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/bool-addrec.ll?rev=299357&r1=299356&r2=299357&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/bool-addrec.ll (original)
+++ polly/trunk/test/ScopInfo/bool-addrec.ll Mon Apr  3 07:37:10 2017
@@ -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)




More information about the llvm-commits mailing list