This reverts commit c9c4676a. Reason for revert: note-amd-valid-v3.s test fails if AMDGPU is not built.