This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Add extended-image-insts to RemoveIncompatibleFunctions
ClosedPublic

Authored by Pierre-vh on Aug 3 2023, 1:55 AM.

Details

Summary

Otherwise device libs still has issues at O0 (in OpenCL-CTS)

Depends on D156972 as well. They're unrelated fixes but both are needed to fix the issue.

Fixes SWDEV-402331

Diff Detail

Event Timeline

Pierre-vh created this revision.Aug 3 2023, 1:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2023, 1:55 AM
Pierre-vh requested review of this revision.Aug 3 2023, 1:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2023, 1:55 AM
Pierre-vh edited the summary of this revision. (Show Details)Aug 3 2023, 1:57 AM
Pierre-vh added inline comments.Aug 3 2023, 1:58 AM
llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp
107

Note: linter did this because we don't have an even amount of features anymore so it doesn't like the 2 column format. I can revert if needed, but I think it's good to keep files clang-formatted.
If I revert, I'd add clang-format off/on.

arsenm accepted this revision.Aug 3 2023, 12:42 PM
arsenm added inline comments.
llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp
107

I hate how clang-format wants to minimize lines, every list should be split like this

This revision is now accepted and ready to land.Aug 3 2023, 12:42 PM