[all-commits] [llvm/llvm-project] cbe879: [Flang] Fix options for FunctionAttr pass (#126819)

Scott Manley via All-commits all-commits at lists.llvm.org
Wed Feb 12 06:17:29 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbe879d6858fe2962261181818d694b8367fe804
      https://github.com/llvm/llvm-project/commit/cbe879d6858fe2962261181818d694b8367fe804
  Author: Scott Manley <rscottmanley at gmail.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M flang/include/flang/Optimizer/Transforms/Passes.td

  Log Message:
  -----------
  [Flang] Fix options for FunctionAttr pass (#126819)

For non-basic types GenericOptionParser::findArgStrForValue will return
null, ultimately an llvm_unreachable, when the specific values are not
found. Add the enum, much like the debug-level option in AddDebugInfo to
resolve this problem. Also change tuneCPU to be std::string or it will
also fail.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list