This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Improve note directive verification in assembler
ClosedPublic

Authored by kzhuravl on Oct 10 2017, 11:32 AM.

Details

Summary
  • Do not allow amd_amdgpu_isa directives on non-amdgcn architectures
  • Do not allow amd_amdgpu_hsa_metadata on non-amdhsa OSes
  • Do not allow amd_amdgpu_pal_metadata on non-amdpal OSes

Diff Detail

Repository
rL LLVM

Event Timeline

kzhuravl created this revision.Oct 10 2017, 11:32 AM
t-tye accepted this revision.Oct 10 2017, 7:14 PM

LGTM

This revision is now accepted and ready to land.Oct 10 2017, 7:14 PM
This revision was automatically updated to reflect the committed changes.