[all-commits] [llvm/llvm-project] 6cc363: [CUDA, NVPTX] accept/ignore any -mcmodel arguments...

Artem Belevich via All-commits all-commits at lists.llvm.org
Mon Oct 30 16:12:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6cc363ed7c9b56a2f3d26d0a88d72b32c1ce9c34
      https://github.com/llvm/llvm-project/commit/6cc363ed7c9b56a2f3d26d0a88d72b32c1ce9c34
  Author: Artem Belevich <tra at google.com>
  Date:   2023-10-30 (Mon, 30 Oct 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp

  Log Message:
  -----------
  [CUDA, NVPTX] accept/ignore any -mcmodel arguments. (#70740)

Code model has no impact on NVPTX as we do not produce any object files,
but we need to avoid erroring out on the -mcmodel argument passed to the
top-level compilation and propagated to all sub-compilations.




More information about the All-commits mailing list