Skip to content

Conversation

svenvh
Copy link
Member

@svenvh svenvh commented Aug 26, 2024

The first argument to IRBuilder's CreatePtrDiff must be the element type, not the pointer type; otherwise the resulting difference will be scaled incorrectly.

(cherry picked from commit b5938f0)

…p#2683)

The first argument to IRBuilder's `CreatePtrDiff` must be the element
type, not the pointer type; otherwise the resulting difference will
be scaled incorrectly.

(cherry picked from commit b5938f0)
@svenvh svenvh merged commit d65c25a into KhronosGroup:llvm_release_190 Aug 26, 2024
9 checks passed
@svenvh svenvh deleted the Backport-to-19 branch August 26, 2024 11:33
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.

2 participants