[PATCH] D152776: [LibCallsShrinkWrap] Set IsFPConstrained is true for creating quiet floating comparision

Jim Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 20:17:50 PDT 2023


Jim updated this revision to Diff 536940.
Jim added a comment.

Only set IsFPConstrained is true if function with attribute strictfp.
Also add testcase from my example program.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152776

Files:
  llvm/lib/Transforms/Utils/LibCallsShrinkWrap.cpp
  llvm/test/Transforms/Util/libcalls-shrinkwrap-double.ll
  llvm/test/Transforms/Util/libcalls-shrinkwrap-float.ll
  llvm/test/Transforms/Util/libcalls-shrinkwrap-long-double.ll
  llvm/test/Transforms/Util/libcalls-shrinkwrap-strictfp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152776.536940.patch
Type: text/x-patch
Size: 40083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230704/6f789e58/attachment-0001.bin>


More information about the llvm-commits mailing list