[libcxx-commits] [libc] [libcxx] [clang-tools-extra] [flang] [lld] [lldb] [llvm] [clang] [AMDGPU] Add pal metadata 3.0 support to callable pal funcs (PR #67104)
Matt Arsenault via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 5 04:20:45 PST 2024
================
@@ -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);
----------------
arsenm wrote:
should this be skipped for gfx12?
https://github.com/llvm/llvm-project/pull/67104
More information about the libcxx-commits
mailing list