[PATCH] D29488: [DA] Fix for PR31848: Treat AddRec subscripts containing extra loops as NonLinear

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 07:32:36 PST 2017


davide requested changes to this revision.
davide added inline comments.
This revision now requires changes to proceed.


================
Comment at: test/Analysis/DependenceAnalysis/pr31848.c:1-2
+// RUN: clang %s -O1 -o - -emit-llvm -c | opt -da -analyze 2>&1 | FileCheck %s
+
+void foo(int *A, int n) {
----------------
LLVM tests shouldn't use clang, but opt directly. Can you rewrite this as an IR test?


https://reviews.llvm.org/D29488





More information about the llvm-commits mailing list