[PATCH] D134666: [AMDGPU] Move SIModeRegisterDefaults to SI MFI
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 27 12:50:16 PDT 2022
rampitec added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp:1635-1638
+ if (Subtarget->isGCN()) {
+ const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>();
+ UseFmadFtz = MFI->getMode().allFP32Denormals();
+ }
----------------
rampitec wrote:
> arsenm wrote:
> > This shows it is used by shared code, what's the point?
> R600 indeed uses the same lowering for mul24 and calls this function.
It's just R600 always flush as far as I understand.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134666/new/
https://reviews.llvm.org/D134666
More information about the llvm-commits
mailing list