From 0b8949e6ed1497040c5dd3e375f65457f8003b1c Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Mon, 3 Apr 2017 12:37:10 +0000 Subject: [PATCH] [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 Differential Revision: https://reviews.llvm.org/D31596 llvm-svn: 299357 --- polly/test/Isl/CodeGen/invariant-load-dimension.ll | 4 ++-- polly/test/ScopInfo/bool-addrec.ll | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/polly/test/Isl/CodeGen/invariant-load-dimension.ll b/polly/test/Isl/CodeGen/invariant-load-dimension.ll index 8bc84af..b65c7e4 100644 --- a/polly/test/Isl/CodeGen/invariant-load-dimension.ll +++ b/polly/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" diff --git a/polly/test/ScopInfo/bool-addrec.ll b/polly/test/ScopInfo/bool-addrec.ll index d63149e..7588a88 100644 --- a/polly/test/ScopInfo/bool-addrec.ll +++ b/polly/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) -- 2.7.4