Hello All,
I find trouble understanding the below scalar expressions. Can someone help me understand why the below expressions are not affine.
Expr: {{((8 * %8) + (-1 * %2) + %13),+,1}<%pregion_for_entry.entry.i>,+,(1 + (-1 * %2)),+,1}<%while.body.i>
Region: pregion_for_entry.entry.i => transpose_ceWork.exit
-> INVALID: AddRec is not affine
Non affine loop bound '***COULDNOTCOMPUTE***' in loop: while.body.i
Expr: %18
Region: while.end.i => if.end.r_exit.i
-> %18 = phi i32 [ %add1.i.i, %pregion_for_entry.entry.i ], [ %sub.i.lcssa, %while.end.i.loopexit ] ; instructoin in IR
INVALID: UnknownExpr references an instruction within the region
Thanks in advance.
Regards,
Harish C