[PATCH] D112256: [FPEnv][EarlyCSE] Add support for CSE of constrained FP intrinsics, take 2

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 21 11:50:19 PDT 2021


kpn created this revision.
kpn added reviewers: JosephTremoulet, craig.topper.
kpn requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Currently we only CSE constrained FP intrinsics in the default floating point environment.

This patch adds support for CSE when exception behavior is "ignore" or "maytrap" and the rounding mode is known.

This review replaces D105895 <https://reviews.llvm.org/D105895>. No restrictions on CSE across function calls is in this patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112256

Files:
  llvm/lib/Transforms/Scalar/EarlyCSE.cpp
  llvm/test/Transforms/EarlyCSE/ebstrict-strictfp.ll
  llvm/test/Transforms/EarlyCSE/mixed-strictfp.ll
  llvm/test/Transforms/EarlyCSE/nonmixed-strictfp.ll
  llvm/test/Transforms/EarlyCSE/round-dyn-strictfp.ll
  llvm/test/Transforms/EarlyCSE/tfpropagation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112256.381345.patch
Type: text/x-patch
Size: 93485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211021/f8efb7c5/attachment.bin>


More information about the llvm-commits mailing list