[all-commits] [llvm/llvm-project] d732c0: [clang][AArch64] Add getHostCPUFeatures to query f...

neildhickey via All-commits all-commits at lists.llvm.org
Tue Oct 29 06:35:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d732c0b13c55259177f2936516b6087d634078e0
      https://github.com/llvm/llvm-project/commit/d732c0b13c55259177f2936516b6087d634078e0
  Author: neildhickey <nhickey at nvidia.com>
  Date:   2024-10-29 (Tue, 29 Oct 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
    A clang/test/Driver/Inputs/cpunative/cortex-a57
    A clang/test/Driver/Inputs/cpunative/cortex-a72
    A clang/test/Driver/Inputs/cpunative/cortex-a76
    A clang/test/Driver/Inputs/cpunative/neoverse-n1
    A clang/test/Driver/Inputs/cpunative/neoverse-v2
    A clang/test/Driver/aarch64-mcpu-native.c
    M llvm/lib/TargetParser/Host.cpp

  Log Message:
  -----------
  [clang][AArch64] Add getHostCPUFeatures to query for enabled features in cpu info (#97749)

Add getHostCPUFeatures into the AArch64 Target Parser to query the 
cpuinfo for the device in the case where we are compiling with 
-mcpu=native.
Add LLVM_CPUINFO environment variable to test mock /proc/cpuinfo
files for -mcpu=native

Co-authored-by: Elvina Yakubova <eyakubova at nvidia.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list