Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,882
    • Issues 2,882
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 924
    • Merge requests 924
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Merge requests
  • !4109

Merged
Created Mar 09, 2020 by Bas Nieuwenhuizen@bnieuwenhuizenDeveloper

amd/llvm: Fix divergent descriptor indexing. (v2)

  • Overview 17
  • Commits 1
  • Pipelines 18
  • Changes 2

There are multiple LLVM passes that very much move the intrinsic using the descriptor outside of the loop, defeating the entire point of creating the loop.

Defeat the optimizer by splitting the break into a separate if-statement and putting an optimization barrier on the bool in between.

v2: Move from a callback based system to begin/end loop. This does not make it significantly less intrusive but is a bit nicer with all the extra struct and callback stubs.

Closes: #2160 (closed) Fixes: 028ce527 "radv: Add non-uniform indexing lowering."

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: descriptor-indexing-2