================ @@ -1025,6 +1025,26 @@ void AMDGPUAsmPrinter::EmitProgramInfoSI(const MachineFunction &MF, OutStreamer->emitInt32(MFI->getNumSpilledVGPRs()); } +// Helper function to add common PAL Metadata 3.0+ +static void EmitPALMetadataCommon(AMDGPUPALMetadata *MD, + const SIProgramInfo &CurrentProgramInfo, + CallingConv::ID CC, + const MCSubtargetInfo &ST) { + MD->setHwStage(CC, ".ieee_mode", (bool)CurrentProgramInfo.IEEEMode); ---------------- piotrAMD wrote:
Maybe, but I wasn't sure. Seems we generally do not bother to do gfxip checks for others (e.g., "MemOrdered" is only supported on gfx10 and gfx11). https://github.com/llvm/llvm-project/pull/67104 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits