diff options
author | Philip Pfaffe <philip.pfaffe@gmail.com> | 2017-08-10 14:53:25 +0000 |
---|---|---|
committer | Philip Pfaffe <philip.pfaffe@gmail.com> | 2017-08-10 14:53:25 +0000 |
commit | c3bcdc2f1a2c2e5476059870ba570987d15c3fe2 (patch) | |
tree | 06aa3eb99e19f8900193826a6cef56378d04a584 /polly/test/Simplify | |
parent | 8dfe8e21e82dd907f079fc47d73c6dfc4afeb5d6 (diff) | |
download | bcm5719-llvm-c3bcdc2f1a2c2e5476059870ba570987d15c3fe2.tar.gz bcm5719-llvm-c3bcdc2f1a2c2e5476059870ba570987d15c3fe2.zip |
[JSON] Make the failure to parse a jscop file a hard error
Summary:
Before, if we fail to parse a jscop file, this will be reported as an
error and importing is aborted. However, this isn't actually strong
enough, since although the import is aborted, the scop has already been
modified and is very likely broken. Instead, make this a hard failure
and throw an LLVM error. This new behaviour requires small changes to
the tests for the legacy pass, namely using `not` to verify the error.
Further, fixed the jscop file for the
base_pointer_load_is_inst_inside_invariant_1 testcase.
Reviewed By: Meinersbur
Split out of D36578.
llvm-svn: 310599
Diffstat (limited to 'polly/test/Simplify')
-rw-r--r-- | polly/test/Simplify/notredundant_region_middle.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/test/Simplify/notredundant_region_middle.ll b/polly/test/Simplify/notredundant_region_middle.ll index cadbc1724fc..e42e60b9480 100644 --- a/polly/test/Simplify/notredundant_region_middle.ll +++ b/polly/test/Simplify/notredundant_region_middle.ll @@ -1,4 +1,4 @@ -; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck %s -match-full-lines +; RUN: opt %loadPolly -polly-simplify -analyze < %s | FileCheck %s -match-full-lines ; ; Do not remove redundant stores in the middle of region statements. ; The store in region_true could be removed, but in practice we do try to |