[flang-commits] [clang] [flang] [mlir] [flang] Add support for -mrecip[=<list>] (PR #143418)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Mon Jun 9 12:48:37 PDT 2025
================
@@ -2636,6 +2636,11 @@ void ModuleImport::processFunctionAttributes(llvm::Function *func,
funcOp.setTargetFeaturesAttr(
LLVM::TargetFeaturesAttr::get(context, attr.getValueAsString()));
+ if (llvm::Attribute attr = func->getFnAttribute("reciprocal-estimates");
+ attr.isStringAttribute())
----------------
tarunprabhu wrote:
Ah, I hadn't noticed that everything else did this too. In that case, leave it as it is. Can't say that I like it, but there we are.
https://github.com/llvm/llvm-project/pull/143418
More information about the flang-commits
mailing list