Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • compiler
  • translator
  • SimplifyLoopConditions.h
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Simplify loop conditions so that they won't generate statements · 3cbb27a1
    Olli Etuaho authored Jul 14, 2016
    Introduce an AST traverser that can move the evaluation of certain
    types of loop conditions and loop expressions inside the loop. This
    way subsequent AST transformations don't have to worry about cases
    where they have to insert new statements to implement a loop condition
    or expression.
    
    This includes the revert of "Unfold short-circuiting operators in loop
    conditions correctly". The new traverser covers the loop cases that
    used to be handled in UnfoldShortCircuitToIf.
    
    BUG=angleproject:1465
    TEST=WebGL conformance tests,
         dEQP-GLES2.functional.shaders.*select_iteration_count*
    
    Change-Id: I88e50e007e924d5884a217117690ac7fa2f96d38
    Reviewed-on: https://chromium-review.googlesource.com/362570Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    3cbb27a1
SimplifyLoopConditions.h 926 Bytes
EditWeb IDE
×

Replace SimplifyLoopConditions.h

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.