diff options
author | Michael Kruse <llvm@meinersbur.de> | 2017-04-03 12:37:10 +0000 |
---|---|---|
committer | Michael Kruse <llvm@meinersbur.de> | 2017-04-03 12:37:10 +0000 |
commit | 0b8949e6ed1497040c5dd3e375f65457f8003b1c (patch) | |
tree | 512c6362aeb06087e6a57e65e3c5741beb38a35a | |
parent | 6e7854a560c6d98590a63ea968cf825ab8782c93 (diff) | |
download | bcm5719-llvm-0b8949e6ed1497040c5dd3e375f65457f8003b1c.tar.gz bcm5719-llvm-0b8949e6ed1497040c5dd3e375f65457f8003b1c.zip |
[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@gmail.com>
Differential Revision: https://reviews.llvm.org/D31596
llvm-svn: 299357
-rw-r--r-- | polly/test/Isl/CodeGen/invariant-load-dimension.ll | 4 | ||||
-rw-r--r-- | 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 8bc84afa141..b65c7e453ca 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 d63149e83e2..7588a88bf12 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) |