Skip to content

Investigate llvm::sys::getHostCPUName() and llvm::sys::getHostCPUFeatures() to possibly improve code generation #1533

Open
@erick-xanadu

Description

@erick-xanadu

We currently set these to "generic" and "" respectively. While we have the targetMachine->setOptLevel(llvm::CodeGenOptLevel::None); to avoid large compilation times, I believe that using the host cpu name and host cpu features may provide some performance benefits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions