[all-commits] [llvm/llvm-project] 944110: [Hexagon][test] Fix some tests on linux-musl

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue May 31 19:56:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 944110353b970fc99de3f012292b4c29d4d91999
      https://github.com/llvm/llvm-project/commit/944110353b970fc99de3f012292b4c29d4d91999
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-05-31 (Tue, 31 May 2022)

  Changed paths:
    M llvm/test/CodeGen/Hexagon/csr-stubs-spill-threshold.ll
    M llvm/test/CodeGen/Hexagon/long-calls.ll
    M llvm/test/CodeGen/Hexagon/mlong-calls.ll
    M llvm/test/CodeGen/Hexagon/pic-regusage.ll
    M llvm/test/CodeGen/Hexagon/runtime-stkchk.ll

  Log Message:
  -----------
  [Hexagon][test] Fix some tests on linux-musl

-march=hexagon uses the default target triple and changes the arch part of
hexagon. On linux-musl, this essentially becomes hexagon-unknown-linux-musl
which has different code generation. Use -mtriple instead.

Link: https://github.com/llvm/llvm-project/issues/48936




More information about the All-commits mailing list