[all-commits] [llvm/llvm-project] 56eb55: [clang][FMV] Fix crash with cpu_specific attribute...

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Mon Nov 25 23:45:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56eb559b1d49ec6fa2d75753078e5b57f4b606c2
      https://github.com/llvm/llvm-project/commit/56eb559b1d49ec6fa2d75753078e5b57f4b606c2
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2024-11-26 (Tue, 26 Nov 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/test/CodeGen/attr-cpuspecific.c

  Log Message:
  -----------
  [clang][FMV] Fix crash with cpu_specific attribute. (#115762)

When dealing with cpu_specific GlobalDecl,
GetOrCreateMultiVersionResolver should immediately return the already
created llvm function if it exists.

Fixes https://github.com/llvm/llvm-project/issues/115299.



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