[PATCH] D149112: InstCombine: Try to turn is.fpclass sign checks to fcmp with 0

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 17:10:38 PDT 2023


arsenm created this revision.
arsenm added reviewers: jcranmer-intel, foad, kpn, sepavloff.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Try to use gt/lt compares with 0 instead of class.


https://reviews.llvm.org/D149112

Files:
  llvm/include/llvm/IR/InstrTypes.h
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/test/Transforms/InstCombine/is_fpclass.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149112.516588.patch
Type: text/x-patch
Size: 12429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230425/f8767263/attachment.bin>


More information about the llvm-commits mailing list