Skip to content

Switching optimization levels (partially) delayed by one transaction #23220

Description

@hahnjo

Check duplicate issues.

  • Checked for duplicates

Description

When switching optimization levels with .O<n> or #pragma cling optimize (n), parts of the effect are delayed by one transaction.

Reproducer

From a default ROOT prompt (with -O1), switch to .O0 and observe that the generated LLVM IR, if dumped, only has noinline attributes for the second transaction.

ROOT version

master

Installation method

from source

Operating system

Linux

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions