[polly] r296994 - Adapt to llvm change r296992 to unbreak the bots

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 5 17:12:16 PST 2017


Author: sanjoy
Date: Sun Mar  5 19:12:16 2017
New Revision: 296994

URL: http://llvm.org/viewvc/llvm-project?rev=296994&view=rev
Log:
Adapt to llvm change r296992 to unbreak the bots

r296992 made ScalarEvolution's CompareValueComplexity less aggressive,
and that broke the polly test being fixed in this change.  This change
explicitly bumps CompareValueComplexity in said test case to make it
pass.

Can someone from the polly team please can give me an idea on if this
case is important enough to have
scalar-evolution-max-value-compare-depth be 3 by default?

Modified:
    polly/trunk/test/ScopInfo/invariant_load_zext_parameter-2.ll

Modified: polly/trunk/test/ScopInfo/invariant_load_zext_parameter-2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/invariant_load_zext_parameter-2.ll?rev=296994&r1=296993&r2=296994&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/invariant_load_zext_parameter-2.ll (original)
+++ polly/trunk/test/ScopInfo/invariant_load_zext_parameter-2.ll Sun Mar  5 19:12:16 2017
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -polly-scops -polly-invariant-load-hoisting=true -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -analyze < %s
+; RUN: opt %loadPolly -scalar-evolution-max-value-compare-depth=3 -polly-scops -polly-invariant-load-hoisting=true -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -scalar-evolution-max-value-compare-depth=3 -polly-codegen -polly-invariant-load-hoisting=true -analyze < %s
 ;
 ; Stress test for the code generation of invariant accesses.
 ;




More information about the llvm-commits mailing list