Skip to content

Enable NoNaNs fast math flag #648

@adazem009

Description

@adazem009

Enabling this flag results in a nice performance improvement. However, it breaks NaN detection. The flag can still be enabled if we ignore it in LLVMCodeBuilder::isNaN().
This only possible since LLVM 20.1 (llvm/llvm-project@a77346b) which introduces CreateFCmpFMF().

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Priority: Mediumtask

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions