[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:47:46 PDT 2025
================
@@ -1549,6 +1549,9 @@ LogicalResult ModuleTranslation::convertOneFunction(LLVMFuncOp func) {
if (auto tuneCpu = func.getTuneCpu())
llvmFunc->addFnAttr("tune-cpu", *tuneCpu);
+ if (auto reciprocalEstimates = func.getReciprocalEstimates())
----------------
tarunprabhu wrote:
I was just wondering because of the `*` operator in the body of the conditional. I think everything else here uses `auto`, so I'd leave it as is.
https://github.com/llvm/llvm-project/pull/143418
More information about the flang-commits
mailing list