This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Rename isAmdCodeObjectV2 -> isAmdHsaOrMesa
ClosedPublic

Authored by kzhuravl on Oct 4 2018, 11:24 AM.

Details

Summary

The isAmdCodeObjectV2 is a misleading name which actually checks whether the os
is amdhsa or mesa.

Also add a test to make sure we do not generate old kernel header for code
object v3.

Diff Detail

Repository
rL LLVM

Event Timeline

kzhuravl created this revision.Oct 4 2018, 11:24 AM
This revision is now accepted and ready to land.Oct 4 2018, 11:47 AM
This revision was automatically updated to reflect the committed changes.