[PATCH] D152776: [LibCallsShrinkWrap] Set IsFPConstrained is true for creating quiet floating comparision
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 13 20:39:00 PDT 2023
efriedma added a comment.
Something like https://godbolt.org/z/Yn31Tfoc4 ?
You need to add a check along the lines of `if (BBBuilder.GetInsertBlock()->getParent()->hasFnAttribute(Attribute::StrictFP))` so this doesn't affect functions that aren't marked strictfp. Or maybe we should just disable the whole pass if the function is StrictFP?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152776/new/
https://reviews.llvm.org/D152776
More information about the llvm-commits
mailing list