Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Zentrik committed Oct 13, 2024
1 parent cdae2ea commit 12a680c
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 12a680c

Please sign in to comment.