[PATCH] D155451: AMDGPU: Fix broken denormal constant folding of canonicalize

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 05:36:59 PDT 2023


arsenm created this revision.
arsenm added reviewers: AMDGPU, rampitec, foad, Pierre-vh.
Herald added subscribers: StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This needs to consider the dynamic denormal mode. It should be
possible to implement a runtime DAZ check with a canonicalize.


https://reviews.llvm.org/D155451

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fcanonicalize.mir
  llvm/test/CodeGen/AMDGPU/fcanonicalize.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155451.540974.patch
Type: text/x-patch
Size: 9189 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230717/84bad481/attachment-0001.bin>


More information about the llvm-commits mailing list