Skip to content

Commit

Permalink
RDM and DP detection on arm64 Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
imhameed committed Mar 22, 2021
1 parent 67475a2 commit 53c1031
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/lib/Support/Host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1461,6 +1461,8 @@ bool sys::getHostCPUFeatures(StringMap<bool> &Features) {
StringRef LLVMFeatureStr = StringSwitch<StringRef>(CPUFeatures[I])
#if defined(__aarch64__)
.Case("asimd", "neon")
.Case("asimddp", "dotprod")
.Case("asimdrdm", "rdm")
.Case("fp", "fp-armv8")
.Case("crc32", "crc")
#else
Expand Down

0 comments on commit 53c1031

Please sign in to comment.