[PATCH] D128647: [InstructionSimplify] handle denormal constant input for fcmp

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 27 07:14:26 PDT 2022


shchenz created this revision.
shchenz added reviewers: spatel, dcandler, nlopes, nikic.
Herald added a subscriber: hiraditya.
Herald added a project: All.
shchenz requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Handle denormal input for fcmp instructions according to denormal float handling mode.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128647

Files:
  llvm/include/llvm/Analysis/ConstantFolding.h
  llvm/include/llvm/Analysis/InstructionSimplify.h
  llvm/lib/Analysis/ConstantFolding.cpp
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstSimplify/constant-fold-fp-denormal.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128647.440207.patch
Type: text/x-patch
Size: 10899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220627/aa550440/attachment.bin>


More information about the llvm-commits mailing list