[llvm] AMDGPU: Support llvm.exp10 (PR #65860)
Joe Nash via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 28 06:46:44 PST 2023
================
@@ -349,10 +350,10 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(const TargetMachine &TM,
setOperationAction(ISD::IS_FPCLASS, {MVT::f16, MVT::f32, MVT::f64}, Legal);
else {
setOperationAction(ISD::IS_FPCLASS, {MVT::f32, MVT::f64}, Legal);
- setOperationAction({ISD::FLOG2, ISD::FEXP2}, MVT::f16, Custom);
+ setOperationAction({ISD::FLOG2, ISD::FEXP2, ISD::FEXP10}, MVT::f16, Custom);
----------------
Sisyph wrote:
It looks like setting FEXP10 for f16 Custom here is redundant with the line below.
https://github.com/llvm/llvm-project/pull/65860
More information about the llvm-commits
mailing list