[all-commits] [llvm/llvm-project] 2ecda9: [Hexagon] Alter meaning of versionless -mhvx

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Tue Feb 8 09:09:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ecda9ec9cc89b87ce2e56452229c9444beabf21
      https://github.com/llvm/llvm-project/commit/2ecda9ec9cc89b87ce2e56452229c9444beabf21
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Hexagon.cpp
    M clang/test/Driver/hexagon-hvx.c

  Log Message:
  -----------
  [Hexagon] Alter meaning of versionless -mhvx

The documentation for the official (downstream) Qualcomm Hexagon Clang
states that -mhvx sets the HVX version to be the same as the CPU version.
The current implementation upstream would use the most recent versioned
-mhvx= flag first (if present), then the CPU version. Change the upstream
behavior to match the documented behavior of the downstream compiler.




More information about the All-commits mailing list