[all-commits] [llvm/llvm-project] cd683b: [HipStdPar] Fix globle variable (#90627)

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Thu May 2 06:35:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd683bd32cecd97b9d9fd345c4e6c067d84fefd4
      https://github.com/llvm/llvm-project/commit/cd683bd32cecd97b9d9fd345c4e6c067d84fefd4
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M llvm/lib/Transforms/HipStdPar/HipStdPar.cpp
    A llvm/test/Transforms/HipStdPar/global-var.ll

  Log Message:
  -----------
  [HipStdPar] Fix globle variable (#90627)

HipStdParAcceleratorCodeSelectionPass changes linkage of global
variables to extern_weak, which does not allow initializer.

An extern_weak global variable with initializer will cause llvm-as and
llc to fail.



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