Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 403
    • Issues 403
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1047
Closed
Open
Created Nov 26, 2009 by Robert Bernecky@rbeDeveloper

Someone (WLF?) still propagates constants into WL generator bounds

Bugzilla Link 609
Created on Nov 26, 2009 22:30
Version svn
OS Linux
Architecture PC

Extended Description

sac2c slice.sac -b11
where slice.sac is:
use Array: all;
int main()
{
 shp = [25];
 
 ylo = [5];
 yhi = [25];
 xlo = ylo - [8]; 
 xhi = yhi + [20];
 
 z = with {
     ( xlo <= iv <= xhi) : _sel_VxA_( [0], iv);
     ( ylo <= iv <= yhi) : _sel_VxA_( [0], iv);
   } : genarray ( shp, 42);
 StdIO::print(z);
 return(0);
}
produces:
  z = with {
        ([ 5 ] <= iv__SSA0_1=[_eat_23] < [ 26 ] genwidth [ _wlsimp_627 ])
        {
          /* empty */
        } : _eat_23 ; ,
        ([ 0 ] <= iv__SSA0_1=[_eat_23] < [ 5 ] genwidth [ _wlsimp_626 ])
        {
          /* empty */
        } : _eat_23 ;
 } :
      genarray( [ 25 ]);
I'm guessing WLF because if I compile with -nowlf, we get N_id nodes in
the generator bounds.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking