[PATCH] D80719: AMDGPU: Fix not emitting nofpexcept on fdiv expansion

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 28 06:30:32 PDT 2020


arsenm created this revision.
arsenm added reviewers: kerbowa, rampitec.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
arsenm added a parent revision: D80717: DAG: Fix getNode dropping flags if there's a glue output.

In this awkward case, we have to emit custom pseudo-constrained FP
wrappers. InstrEmitter concludes that since a mayRaiseFPException
instruction had a chain, it can't add nofpexcept.


https://reviews.llvm.org/D80719

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/fdiv-nofpexcept.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80719.266849.patch
Type: text/x-patch
Size: 10782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200528/c110dc9b/attachment-0001.bin>


More information about the llvm-commits mailing list