[PATCH] D144534: [DAGCombine] Fold SETCC_OEQ(x, Inf) into IS_FPCLASS

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 27 02:46:46 PDT 2023


qiucf updated this revision to Diff 534885.
qiucf retitled this revision from "[InstCombine] Fold (fcmp_oeq (fabs x) +Inf) into is_fpclass(x, fcInf)" to "[DAGCombine] Fold SETCC_OEQ(x, Inf) into IS_FPCLASS".
qiucf added a comment.
Herald added subscribers: kerbowa, jvesely, nemanjai.

Implement in backend.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144534/new/

https://reviews.llvm.org/D144534

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/AMDGPU/fp-classify.ll
  llvm/test/CodeGen/AMDGPU/fract-match.ll
  llvm/test/CodeGen/PowerPC/fp-classify.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144534.534885.patch
Type: text/x-patch
Size: 8272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230627/8577f0bc/attachment.bin>


More information about the llvm-commits mailing list