This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Consider nobuiltin when querying defined libfuncs
ClosedPublic

Authored by arsenm on Jul 31 2023, 8:56 AM.

Details

Reviewers
rampitec
jhuber6
vpykhtin
dfukalov
Pierre-vh
jmmartinez
yaxunl
Group Reviewers
Restricted Project

Diff Detail

Event Timeline

arsenm created this revision.Jul 31 2023, 8:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2023, 8:56 AM
arsenm requested review of this revision.Jul 31 2023, 8:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2023, 8:56 AM
Herald added a subscriber: wdng. · View Herald Transcript
Pierre-vh accepted this revision.Aug 1 2023, 2:46 AM
Pierre-vh added inline comments.
llvm/lib/Target/AMDGPU/AMDGPULibFunc.cpp
960

nit: can you add a small not explaining why it's important to respect this attr?
e.g. what happens if we don't respect it? what does this fix?

Note can be here or in the test, doesn't matter, it's just to preserve some context surrounding this change.

This revision is now accepted and ready to land.Aug 1 2023, 2:46 AM
arsenm added inline comments.Aug 1 2023, 2:39 PM
llvm/lib/Target/AMDGPU/AMDGPULibFunc.cpp
960

I think the correct place is the LangRef, where this is already semi-documented