[PATCH] D136466: [StrictFP][IPSCCP] Constant fold constrained intrinsics

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 09:42:50 PDT 2022


kpn created this revision.
kpn added reviewers: nikic, fhahn, davide, efriedma.
Herald added a subscriber: hiraditya.
Herald added a project: All.
kpn requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This teaches the SCCP Solver how to constant fold the constrained intrinsics. Constant folding appears to be just as good as D115737 <https://reviews.llvm.org/D115737> but much, much lower in code change impact as suggested by nikic.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136466

Files:
  llvm/lib/Transforms/Utils/SCCPSolver.cpp
  llvm/test/Transforms/SCCP/strictfp-phis-fcmp.ll
  llvm/test/Transforms/SCCP/strictfp-phis-fcmps.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136466.469661.patch
Type: text/x-patch
Size: 5743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221021/0dbbb883/attachment.bin>


More information about the llvm-commits mailing list