Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace getInt8PtrTy which has now been removed from upstream LLVM #2864

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

dstutt
Copy link
Member

@dstutt dstutt commented Dec 4, 2023

This function was changed to return just getPtrTy some time ago in upstream LLVM, but the function was left in place to assist updating.

The upstream function has now been removed with the instruction that anything using the getInt8PtrTy builder function should switch to getPtrTy.

Since the updates for this happened several months ago, I'm not adding version guards.

@dstutt dstutt requested a review from a team as a code owner December 4, 2023 10:02
This function was changed to return just getPtrTy some time ago in upstream
LLVM, but the function was left in place to assist updating.

The upstream function has now been removed with the instruction that anything
using the getInt8PtrTy builder function should switch to getPtrTy.

The code here is still required to work with typed pointers, so it is updated to
work in both cases.
@amdvlk-admin
Copy link
Collaborator

Test summary for commit b9723c0

CTS tests (Failed: 0/138443)
  • Built with version 1.3.5.2
  • Ubuntu navi3x, Srdcvk
    • Passed: 35211/69228 (50.9%)
    • Failed: 0/69228 (0.0%)
    • Not Supported: 34017/69228 (49.1%)
    • Warnings: 0/69228 (0.0%)
    Ubuntu navi2x, Srdcvk
    • Passed: 35241/69215 (50.9%)
    • Failed: 0/69215 (0.0%)
    • Not Supported: 33974/69215 (49.1%)
    • Warnings: 0/69215 (0.0%)

@amdvlk-admin
Copy link
Collaborator

Test summary for commit 9e13304

CTS tests (Failed: 0/138378)
  • Built with version 1.3.5.2
  • Ubuntu navi3x, Srdcvk
    • Passed: 35162/69163 (50.8%)
    • Failed: 0/69163 (0.0%)
    • Not Supported: 34001/69163 (49.2%)
    • Warnings: 0/69163 (0.0%)
    Ubuntu navi2x, Srdcvk
    • Passed: 35241/69215 (50.9%)
    • Failed: 0/69215 (0.0%)
    • Not Supported: 33974/69215 (49.1%)
    • Warnings: 0/69215 (0.0%)

@dstutt dstutt merged commit 0a7397e into GPUOpen-Drivers:dev Dec 4, 2023
10 checks passed
@dstutt dstutt deleted the int8ty-ptr branch December 4, 2023 11:23
qiaojbao pushed a commit that referenced this pull request Jan 2, 2024
…2864)

This function was changed to return just getPtrTy some time ago in upstream
LLVM, but the function was left in place to assist updating.

The upstream function has now been removed with the instruction that anything
using the getInt8PtrTy builder function should switch to getPtrTy.

The code here is still required to work with typed pointers, so it is updated to
work in both cases.
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.

4 participants