[PATCH] D86595: [PowerPC] Handle STRICT_FSETCC(S) in more cases

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 01:12:55 PDT 2020


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

On `-O0`, `i1 strict_fsetcc` will be promoted to i32. We can't handle that in TD patterns. This patch fills logic in PPCISelDAGToDAG to handle more cases.


https://reviews.llvm.org/D86595

Files:
  llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  llvm/test/CodeGen/PowerPC/fp-strict-fcmp-noopt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86595.287856.patch
Type: text/x-patch
Size: 7717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200826/27aeddc0/attachment.bin>


More information about the llvm-commits mailing list