SCCFprf_modarray10.sac CF unit test broken by Loch Ness monster
|
|
Bugzilla Link |
602 |
Created on |
Nov 20, 2009 23:35 |
Resolution |
INVALID |
Resolved on |
Nov 23, 2009 14:41 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Extended Description
The Loch Ness devcamp work maybe isn't complete yet, or this is
an oversight. I'm not sure exactly what's going on here, but the
sac/testsuite/optimizations/constantfolding/SCCFprf_modarray10.sac
unit test no longer works properly.
It looks like single-trip WLs are not being eliminated.
-----------------------------------------------------------
/* Unit Test for constant folding SCCFprf_modarray_AxVxA
* This is a test for bug447.
*/
/* RESULT: _modarray_AxVxA_ 2 1 -b11:cyc:cf:2 */
int main()
{
a = [1,2,3,4];
c = [5,6,7,8];
b = [a,a];
b = with {
([1] <= iv <= [1]) :c;
} : modarray( b);
z = _sel_VxA_([1,2], b);
z = _sub_SxS_(z,7);
return(z);
}
-b11 shows a 2-deep WL nest with several partitions...