Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • Q qcor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ORNL Quantum Computing InstituteORNL Quantum Computing Institute
  • qcor
  • Repository
Switch branch/tag
  • qcor
  • mlir
  • parsers
  • qasm3
  • utils
  • qasm3_utils.cpp
Find file BlameHistoryPermalink
  • Nguyen, Thien Minh's avatar
    Fixed nested range-based for loops · 75484499
    Nguyen, Thien Minh authored Nov 09, 2021
    The unnecessary casting ops between integer and index types cause the Affine for validation failed. This only occurs when the constant values are created inside another affine scope.
    
    Fixing the const index value builder to create the index const directly and the loop statement handler in the range-based case to create index type.
    
    Added the test case (https://github.com/ORNL-QCI/qcor/issues/240
    
    )
    
    Signed-off-by: Nguyen, Thien Minh's avatarThien Nguyen <nguyentm@ornl.gov>
    75484499