Skip to content

[OpaquePointers] Improvements to the type scavenger.#1775

Merged
MrSidims merged 2 commits intoKhronosGroup:mainfrom
jcranmer-intel:type-scavenge-intrinsics
Jan 4, 2023
Merged

[OpaquePointers] Improvements to the type scavenger.#1775
MrSidims merged 2 commits intoKhronosGroup:mainfrom
jcranmer-intel:type-scavenge-intrinsics

Conversation

@jcranmer-intel
Copy link
Contributor

The main improvement is to enable intrinsics with more complex typing rules to be described. For example, memcpy's requirement that its two pointer arguments have the same type.

There is still a larger rewrite of the type scavenger to use TypedPointerType coming down the line. However, this rewrite also needs opaque types to represent the deferred type concept, which is why it hasn't been done yet. This is an intermediate step in the rewrite which better supports some of the other intrinsics with current issues.

@jcranmer-intel jcranmer-intel force-pushed the type-scavenge-intrinsics branch 2 times, most recently from 0092709 to 4ed2e4e Compare December 14, 2022 19:35
@MrSidims
Copy link
Contributor

Closing/reopening to restart CI with a new base

@MrSidims
Copy link
Contributor

@jcranmer-intel it seems like CI failures are related to the patch, could you please take a look?

The main improvement is to enable intrinsics with more complex typing rules to
be described. For example, memcpy's requirement that its two pointer arguments
have the same type.

There is still a larger rewrite of the type scavenger to use TypedPointerType
coming down the line. However, this rewrite also needs opaque types to represent
the deferred type concept, which is why it hasn't been done yet. This is an
intermediate step in the rewrite which better supports some of the other
intrinsics with current issues.
@jcranmer-intel jcranmer-intel force-pushed the type-scavenge-intrinsics branch from 4ed2e4e to f62e5c8 Compare January 3, 2023 19:41
@MrSidims MrSidims merged commit df51179 into KhronosGroup:main Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants