[all-commits] [llvm/llvm-project] 73ee4e: [clang][ARM] only check -mtp=cp15 for non-asm sources

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Mon Dec 6 11:31:47 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73ee4e1cbd643028d63200f05199a128609aba5f
      https://github.com/llvm/llvm-project/commit/73ee4e1cbd643028d63200f05199a128609aba5f
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2021-12-06 (Mon, 06 Dec 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/ARM.cpp
    M clang/lib/Driver/ToolChains/Arch/ARM.h
    M clang/test/Driver/clang-translation.c

  Log Message:
  -----------
  [clang][ARM] only check -mtp=cp15 for non-asm sources

This diagnostic is really to highlight lack of support for hard thread
pointers in post-RA instruction scheduling for non-armv6k+ targets;
something that isn't run for assembler sources.

Fixes: https://github.com/ClangBuiltLinux/linux/issues/1502
Link: https://lore.kernel.org/all/814585495.6773.1636629846970@jenkins.jenkins/

Reviewed By: ardb

Differential Revision: https://reviews.llvm.org/D114124




More information about the All-commits mailing list