[PATCH] D87390: [PowerPC] Pass nofpexcept flag to custom lowered constrained ops

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 09:11:50 PDT 2020


qiucf created this revision.
qiucf added reviewers: PowerPC, uweigand, steven.zhang, jsji, nemanjai.
Herald added subscribers: llvm-commits, shchenz, kbarton, hiraditya.
Herald added a project: LLVM.
qiucf requested review of this revision.

This is a follow-up of D86605 <https://reviews.llvm.org/D86605>. For strict DAG FP node, if its FP exception behavior metadata is `ignore`, it should have `nofpexcept` flag. But during custom lowering, this flag isn't passed down. This is also seen on X86 target.


https://reviews.llvm.org/D87390

Files:
  llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/fp-strict-conv-f128.ll
  llvm/test/CodeGen/PowerPC/fp-strict-conv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87390.290753.patch
Type: text/x-patch
Size: 12950 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200909/614da77f/attachment.bin>


More information about the llvm-commits mailing list