[PATCH] D69698: AMDGPU: Add default denormal mode to MachineFunctionInfo

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 18:52:58 PDT 2019


arsenm created this revision.
arsenm added reviewers: rampitec, hliao.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

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.


https://reviews.llvm.org/D69698

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69698.227386.patch
Type: text/x-patch
Size: 7094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191101/0163a16f/attachment.bin>


More information about the llvm-commits mailing list