Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,076
    • Issues 3,076
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1,007
    • Merge requests 1,007
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • MesaMesa
  • mesamesa
  • Merge requests
  • !18226

gallivm: LLVM-15 opaque pointers fixes

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Mihai Preda requested to merge preda/mesa:+ptr3 into main Aug 24, 2022
  • Overview 21
  • Commits 9
  • Pipelines 8
  • Changes 10

LLVM-15 enables opaque pointers while still supporting legacy typed pointers; but we need to migrate our code to opaque pointers before LLVM-16 arrives.

The changes are mainly along these lines:

  • use LLVMBuildGEP2 and LLVMBuildLoad2 instead of the deprecated LLVMBuildGEP, LLVMBuildLoad. For this we need to know the deref-type of the pointer.
  • don't query the "element type" of a pointer type.
Edited Aug 24, 2022 by Mihai Preda
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: +ptr3