[polly] r200204 - Do not run -O3 to canonicalize test case

Tobias Grosser tobias at grosser.es
Mon Jan 27 02:23:13 PST 2014


Author: grosser
Date: Mon Jan 27 04:23:12 2014
New Revision: 200204

URL: http://llvm.org/viewvc/llvm-project?rev=200204&view=rev
Log:
Do not run -O3 to canonicalize test case

This is not only not necessary, but in case -03 changes this can actually
cause arbitrarily failing test cases such as, e.g., a recent change by Chandler
that caused -O3 to unroll the loop body, which made the loop we wanted to
detect disappear and consequently this test case fail.

Modified:
    polly/trunk/test/Cloog/CodeGen/simple_nonaffine_loop.ll
    polly/trunk/test/Isl/CodeGen/simple_nonaffine_loop.ll

Modified: polly/trunk/test/Cloog/CodeGen/simple_nonaffine_loop.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Cloog/CodeGen/simple_nonaffine_loop.ll?rev=200204&r1=200203&r2=200204&view=diff
==============================================================================
--- polly/trunk/test/Cloog/CodeGen/simple_nonaffine_loop.ll (original)
+++ polly/trunk/test/Cloog/CodeGen/simple_nonaffine_loop.ll Mon Jan 27 04:23:12 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -O3 -polly-cloog -polly-allow-nonaffine -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-cloog -polly-allow-nonaffine -analyze < %s | FileCheck %s
 
 ;#include <stdio.h>
 ;#include <stdlib.h>

Modified: polly/trunk/test/Isl/CodeGen/simple_nonaffine_loop.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/simple_nonaffine_loop.ll?rev=200204&r1=200203&r2=200204&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/simple_nonaffine_loop.ll (original)
+++ polly/trunk/test/Isl/CodeGen/simple_nonaffine_loop.ll Mon Jan 27 04:23:12 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -O3 -polly-ast -polly-allow-nonaffine -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-ast -polly-allow-nonaffine -analyze < %s | FileCheck %s
 
 ;#include <stdio.h>
 ;#include <stdlib.h>





More information about the llvm-commits mailing list