Displaying 2 results from an estimated 2 matches for "scsmaxexpr".
Did you mean:
scevsmaxexpr
2013 Jul 30
0
[LLVMdev] creating SCEV taking too long
...the LHS and RHS's types are the same:
===================================================================
--- lib/Analysis/ScalarEvolution.cpp (revision 187379)
+++ lib/Analysis/ScalarEvolution.cpp (working copy)
@@ -585,6 +585,9 @@
case scAddExpr:
case scMulExpr:
case scSMaxExpr:
case scUMaxExpr: {
const SCEVNAryExpr *LC = cast<SCEVNAryExpr>(LHS);
const SCEVNAryExpr *RC = cast<SCEVNAryExpr>(RHS);
// Lexicographically compare n-ary expressions.
unsigned LNumOps = LC->getNumOperands(), RNumOps = RC->getNumOperands();...
2013 Jul 30
4
[LLVMdev] creating SCEV taking too long
On Jul 29, 2013, at 4:08 PM, Guo, Xiaoyi <Xiaoyi.Guo at amd.com> wrote:
> Hi,
>
> We have a benchmark where there are 128 MAD computations in a loop. (See the attached IR.) Creating SCEVs for these expressions takes a long time, making the compile time too long. E.g., running opt with the “indvars” pass only takes 45 seconds.
>
> It seems that the majority of the time is