[llvm] [AMDGPU] Fix mode register pass for constrained FP operations (PR #90085)

Abhinav Garg via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 25 11:20:28 PDT 2024


================
@@ -430,6 +430,9 @@ void SIModeRegister::processBlockPhase3(MachineBasicBlock &MBB,
 }
 
 bool SIModeRegister::runOnMachineFunction(MachineFunction &MF) {
+  const Function &F = MF.getFunction();
+  if (F.hasFnAttribute(llvm::Attribute::StrictFP))
----------------
abhigargrepo wrote:

Will update

https://github.com/llvm/llvm-project/pull/90085


More information about the llvm-commits mailing list