Reland [AMDGPU] New PAL metadata updates to ps_extra_lds_size and float_mode
authorDavid Stuttard <david.stuttard@amd.com>
Thu, 11 May 2023 13:09:38 +0000 (14:09 +0100)
committerDavid Stuttard <david.stuttard@amd.com>
Fri, 9 Jun 2023 11:34:00 +0000 (12:34 +0100)
commit90431ca2e01489eeff22e141714bb294315d6a3c
tree4632a38146f518dbcf7c2d25df1cd4a36eb56793
parent731e1e6dec996244b5c0bad7cf22b2e01df47cf0
Reland [AMDGPU] New PAL metadata updates to ps_extra_lds_size and float_mode

New metadata format contains full calculation of field contents for
ps_extra_lds_size (vs old format where the value in RSRC register is used by PAL
to calculate the value required).

Also stop updating float_mode and rely on front end settings for this field.

Differential Revision: https://reviews.llvm.org/D152247
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/test/CodeGen/AMDGPU/pal-metadata-3.0.ll