[all-commits] [llvm/llvm-project] 2bcba2: [CPU-Dispatch] Make sure Dispatch names get update...
Erich Keane via All-commits
all-commits at lists.llvm.org
Fri Jan 14 10:46:07 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2bcba21c8ba95de866ed6333fa5cd29d5d232afe
https://github.com/llvm/llvm-project/commit/2bcba21c8ba95de866ed6333fa5cd29d5d232afe
Author: Erich Keane <erich.keane at intel.com>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
A clang/test/CodeGen/attr-cpuspecific-renaming.cpp
Log Message:
-----------
[CPU-Dispatch] Make sure Dispatch names get updated if previously mangled
Cases where there is a mangling of a cpu-dispatch/cpu-specific function
before the function becomes 'multiversion' (such as a member function)
causes the wrong name to be emitted for one of the variants/resolver,
since the name is cached. Make sure we invalidate the cache in
cpu-dispatch/cpu-specific modes, like we previously did for just target
multiversioning.
More information about the All-commits
mailing list