From c0ea22106845378030fc8e6db25f5e4cf073c87d Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 18 Dec 2018 09:39:56 +0000 Subject: AMDGPU: Legalize/regbankselect fma llvm-svn: 349467 --- llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp') diff --git a/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp b/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp index 57643bd28ff..c2ca6755877 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp @@ -91,7 +91,7 @@ AMDGPULegalizerInfo::AMDGPULegalizerInfo(const GCNSubtarget &ST, setAction({G_CONSTANT, S1}, Legal); getActionDefinitionsBuilder( - { G_FADD, G_FMUL, G_FNEG, G_FABS}) + { G_FADD, G_FMUL, G_FNEG, G_FABS, G_FMA}) .legalFor({S32, S64}); // Use actual fsub instruction -- cgit v1.2.3