[PATCH] D72930: [FEnv] Constfold some unary constrained operations

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 26 03:56:43 PST 2020


sepavloff updated this revision to Diff 240428.
sepavloff added a comment.

Updated patch

- Implemented constfolding for non-finite numbers
- Do not affect processing of non-constrained intrinsics.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72930

Files:
  llvm/include/llvm/IR/FPEnv.h
  llvm/lib/Analysis/ConstantFolding.cpp
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/lib/IR/FPEnv.cpp
  llvm/test/Transforms/InstSimplify/constfold-constrained.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72930.240428.patch
Type: text/x-patch
Size: 14200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200126/acd2f527/attachment.bin>


More information about the llvm-commits mailing list