[llvm] [AMDGPU] Disable inline constants for pseudo scalar transcendentals (PR #104395)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 16 01:20:37 PDT 2024
================
@@ -5776,6 +5776,10 @@ bool SIInstrInfo::isOperandLegal(const MachineInstr &MI, unsigned OpIdx,
return false;
}
}
+ } else if (ST.hasNoF16PseudoScalarTransInlineConstants() &&
+ isF16PseudoScalarTrans(MI.getOpcode()) && !MO->isReg() &&
----------------
arsenm wrote:
swap order of checks, isReg before isF16...
https://github.com/llvm/llvm-project/pull/104395
More information about the llvm-commits
mailing list