[llvm] [NFC][AMDGPU] Let IR level callers query the FMA/FMAD predicates (PR #213310)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 31 10:04:50 PDT 2026
================
@@ -505,6 +503,14 @@ class SITargetLowering final : public AMDGPUTargetLowering {
bool isFMADLegal(const SelectionDAG &DAG, const SDNode *N) const override;
bool isFMADLegal(const MachineInstr &MI, const LLT Ty) const override;
+ /// Variants taking the denormal mode directly, for IR level callers which
+ /// have no MachineFunction to read it from. \p VT is the legalized type of
----------------
arsenm wrote:
The IR version has a Function which has the FP mode?
https://github.com/llvm/llvm-project/pull/213310
More information about the llvm-commits
mailing list