catalyst icon indicating copy to clipboard operation
catalyst copied to clipboard

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

Open erick-xanadu opened this issue 8 months ago • 1 comments

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.

erick-xanadu avatar Feb 24 '25 13:02 erick-xanadu