AMDGPU: Add default denormal mode to MachineFunctionInfo
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 28 Oct 2019 06:38:52 +0000 (23:38 -0700)
committerMatt Arsenault <arsenm2@gmail.com>
Fri, 1 Nov 2019 07:03:39 +0000 (00:03 -0700)
commit19e7f8a21d62d0a6ae8a1bbecb232bd9d520555b
treea3c2d9fe4c56d8076c20280d5de9328f3803d464
parentcb6822c9deb63b6c21263b3732e549fdc89c4bbf
AMDGPU: Add default denormal mode to MachineFunctionInfo

The default FP mode should really be a property of a specific
function, and not a subtarget. Introduce the necessary fields to the
SIMachineFunctionInfo to help move towards this goal.
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir
llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll