Skip to content

-freroll-loops command line option broken #59065

Closed
@m9710797

Description

@m9710797

Hi,

The option -freroll-loop is a documented option (https://clang.llvm.org/docs/ClangCommandLineReference.html), and Clang still accepts it. Though it doesn't seem to have any effect anymore.

It seems it got broken since the switch to the new pass manager. See here for some experiments/testcases:
https://godbolt.org/z/377dfonoj

  • It still works with clang-12.
  • It no longer works with clang-13.
  • clang-13 with the option -flegacy-pass-manager does work.

Wouter

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl'

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions