Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Zentrik committed Sep 27, 2024
1 parent d88ee0b commit b797c22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -978,8 +978,7 @@ static std::string jl_get_cpu_name_llvm(void)

static std::string jl_get_cpu_features_llvm(void)
{
llvm::StringMap<bool> HostFeatures;
llvm::sys::getHostCPUFeatures(HostFeatures);
auto HostFeatures = llvm::sys::getHostCPUFeatures();
std::string attr;
for (auto &ele: HostFeatures) {
if (ele.getValue()) {
Expand Down

0 comments on commit b797c22

Please sign in to comment.