[PATCH] D33768: [Polly] Exclude Ignored Intrinsics from explicit instruction list

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 04:33:39 PDT 2017


Meinersbur added inline comments.


================
Comment at: test/ScopInfo/intrinsics_misc.ll:1
+; RUN: opt %loadPolly -polly-scops -analyze -polly-print-instructions -S < %s | FileCheck %s
+;
----------------
Remove `-S`. It is ignored when you also specify `-analyze`.

The result of this command is:
```
Printing analysis 'Polly - Create polyhedral description of Scops' for region: 'for.cond1 => for.end' in function '_Z2jdv':
Invalid Scop!
Printing analysis 'Polly - Create polyhedral description of Scops' for region: 'for.cond => for.end12' in function '_Z2jdv':
Invalid Scop!
Printing analysis 'Polly - Create polyhedral description of Scops' for region: 'entry => <Function Return>' in function '_Z2jdv':
Invalid Scop!
```
that is, there is no valid scop detection in this function.

Test cases should fail without the change you are intending to make.


https://reviews.llvm.org/D33768





More information about the llvm-commits mailing list